Package: devscripts
Version: 2.15.5

From https://bugzilla.redhat.com/show_bug.cgi?id=1240914:

Description of problem:
In fedora-review package, script /usr/bin/licensecheck is used - it's part of 
devscripts-minimal package. Running licensecheck on binary file (such as 
tarball, picture, etc.) results in crash with:

Unknown encoding 'binary' at /usr/bin/licensecheck line 338.

Problem is that licensecheck uses "file -bi" to determine file encoding and 
uses this value to decode. Running file -bi on image file returns:

image/jpeg; charset=binary

but Perl function decode() doesn't know "binary" encoding.

Version-Release number of selected component (if applicable):
2.15.5-5

Steps to Reproduce:
1. Download any image.
2. Run licensecheck image.jpeg

Actual results:
It shows: Unknown encoding 'binary' at /usr/bin/licensecheck line 338.

Expected results:
It should either print "*No copyright* UNKNOWN" or info that this script 
doesn't work on binary files.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to