Bug 1111576
| Summary: | binwalk unable to parse any file | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Anatoly Pugachev <matorola> |
| Component: | binwalk | Assignee: | Scott Talbert <swt> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | ajax, javiertury, lnie, swt |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | binwalk-2.0.0-2.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-11-10 06:36:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Anatoly Pugachev
2014-06-20 12:10:43 UTC
Same version,
$ binwalk full_backup.bin /tmp/tmpfNzcg1, 734: Warning: New continuation level 2 is more than one larger than current level 0
/tmp/tmpfNzcg1, 854: Warning: Printf format `l' is not valid for type `belong' in description `version %ld, '
/tmp/tmpfNzcg1, 1016: Warning: Printf format `l' is not valid for type `lelong' in description `size %lu'
/tmp/tmpfNzcg1, 1021: Warning: Printf format `l' is not valid for type `lelong' in description `edition %lu,'
/tmp/tmpfNzcg1, 1023: Warning: Printf format `l' is not valid for type `lelong' in description `%lu blocks,'
/tmp/tmpfNzcg1, 1025: Warning: Printf format `l' is not valid for type `lelong' in description `%lu files'
/tmp/tmpfNzcg1, 1026: Warning: Printf format `l' is not valid for type `lelong' in description `{jump-to-offset:%lu}'
/tmp/tmpfNzcg1, 1027: Warning: Printf format `l' is not valid for type `lelong' in description `{file-size:%lu}'
/tmp/tmpfNzcg1, 1031: Warning: Printf format `l' is not valid for type `belong' in description `size %lu'
/tmp/tmpfNzcg1, 1036: Warning: Printf format `l' is not valid for type `belong' in description `edition %lu,'
/tmp/tmpfNzcg1, 1038: Warning: Printf format `l' is not valid for type `belong' in description `%lu blocks,'
/tmp/tmpfNzcg1, 1040: Warning: Printf format `l' is not valid for type `belong' in description `%lu files'
/tmp/tmpfNzcg1, 1041: Warning: Printf format `l' is not valid for type `belong' in description `{jump-to-offset:%lu}'
/tmp/tmpfNzcg1, 1042: Warning: Printf format `l' is not valid for type `belong' in description `{file-size:%lu}'
/tmp/tmpfNzcg1, 1816: Warning: Printf format `l' is not valid for type `belong' in description `, %ld x'
/tmp/tmpfNzcg1, 1817: Warning: Printf format `l' is not valid for type `belong' in description `%ld,'
/tmp/tmpfNzcg1, 1832: Warning: Printf format `h' is not valid for type `leshort' in description `%hd x'
/tmp/tmpfNzcg1, 1833: Warning: Printf format `h' is not valid for type `leshort' in description `%hd'
DECIMAL HEX DESCRIPTION
-------------------------------------------------------------------------------------------------------------------
$ rpm -q binwalk
binwalk-1.2-2.fc20.noarch
I tried using rawhide version but I got similar errors:
$ sudo yum --enablerepo=rawhide update binwalk
$ binwalk full_backup.bin
/tmp/tmpd68ls7, 734: Warning: New continuation level 2 is more than one larger than current level 0
/tmp/tmpd68ls7, 854: Warning: Printf format `l' is not valid for type `belong' in description `version %ld, '
/tmp/tmpd68ls7, 1016: Warning: Printf format `l' is not valid for type `lelong' in description `size %lu'
/tmp/tmpd68ls7, 1021: Warning: Printf format `l' is not valid for type `lelong' in description `edition %lu,'
/tmp/tmpd68ls7, 1023: Warning: Printf format `l' is not valid for type `lelong' in description `%lu blocks,'
/tmp/tmpd68ls7, 1025: Warning: Printf format `l' is not valid for type `lelong' in description `%lu files'
/tmp/tmpd68ls7, 1026: Warning: Printf format `l' is not valid for type `lelong' in description `{jump-to-offset:%lu}'
/tmp/tmpd68ls7, 1027: Warning: Printf format `l' is not valid for type `lelong' in description `{file-size:%lu}'
/tmp/tmpd68ls7, 1031: Warning: Printf format `l' is not valid for type `belong' in description `size %lu'
/tmp/tmpd68ls7, 1036: Warning: Printf format `l' is not valid for type `belong' in description `edition %lu,'
/tmp/tmpd68ls7, 1038: Warning: Printf format `l' is not valid for type `belong' in description `%lu blocks,'
/tmp/tmpd68ls7, 1040: Warning: Printf format `l' is not valid for type `belong' in description `%lu files'
/tmp/tmpd68ls7, 1041: Warning: Printf format `l' is not valid for type `belong' in description `{jump-to-offset:%lu}'
/tmp/tmpd68ls7, 1042: Warning: Printf format `l' is not valid for type `belong' in description `{file-size:%lu}'
/tmp/tmpd68ls7, 1816: Warning: Printf format `l' is not valid for type `belong' in description `, %ld x'
/tmp/tmpd68ls7, 1817: Warning: Printf format `l' is not valid for type `belong' in description `%ld,'
/tmp/tmpd68ls7, 1832: Warning: Printf format `h' is not valid for type `leshort' in description `%hd x'
/tmp/tmpd68ls7, 1833: Warning: Printf format `h' is not valid for type `leshort' in description `%hd'
$ rpm -q binwalk
binwalk-1.2-3.fc21.noarch
So I found a partial fix, it just fixes this error: "Warning: New continuation level 2 is more than one larger than current level 0" Just update the signatures, $ sudo binwalk -u It seems that the issue is with recent versions of libmagic. On July 12th it was patched upstream: https://github.com/devttys0/binwalk/commit/fdbcf4198b040c57d6930a516dcc1b02046a7b93 The lastest version, 1.3 beta, was released in January so it doesn't have the fix. The developer seems to be working on binwalk 2.0 since December 2013 but there isn't a release date yet. binwalk-2.0.0-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/binwalk-2.0.0-2.fc21 binwalk-2.0.0-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/binwalk-2.0.0-2.fc20 Package binwalk-2.0.0-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing binwalk-2.0.0-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-14139/binwalk-2.0.0-2.fc20 then log in and leave karma (feedback). binwalk-2.0.0-2.fc20 works binwalk-2.0.0-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. binwalk-2.0.0-2.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |