Ticket #66 (new defect)

Opened 2 years ago

Rewrite ar archive parser

Reported by: haypo Assigned to: haypo
Priority: normal Milestone:
Component: parser Keywords:
Cc:

Description

ASCII cpio archive parser is incomplete and buggy. It is used in Debian archive and RPM archive (compressed by bzip2).

Example where Hachoir doesn't work:

$ dd if=~/testcase/ftp-0.17-537.i586.rpm of=out.bz2 skip=3170 bs=1
(...)
$ bunzip2 out.bz2
$ file out
out: ASCII cpio archive (SVR4 with no CRC)
$ hachoir-metadata out
[err!] Unable to parse file: out

Attachments


Add/Change #66 (Rewrite ar archive parser)