[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845952: binwalk requires specific p7zip behavior



Package: src:binwalk
Version: 2.1.1-15

Looks like binwalk can only extract zip files using a specific p7zip
implementation. Here is the bug report:

$ wget --content-disposition
https://github.com/devttys0/binwalk/archive/v2.1.1.zip
$ wget --content-disposition
https://github.com/devttys0/binwalk/archive/v2.0.1.zip
$ cat binwalk-2.0.1.zip binwalk-2.1.1.zip > full
$ binwalk -r -C output -e full

Using p7zip from stable 9.20.1~dfsg.1-4.1+deb8u2 (p7zip read the file
from the end instead of the begining):

$ ls output/_full.extracted
binwalk-2.1.1/

Using p7zip 16.02+dfsg-1

$ ls output/_full.extracted
binwalk-2.0.1/  binwalk-2.1.1/

So I would suggest to enforce the version in the d/control file. Eg
(not tested):

Recommends: p7zip-full (> 16.02+dfsg-1)



Reply to: