Package: libarchive-ar-perl Version: 1.13b-1 Severity: grave Justification: Makes the package largely unusable Tags: upstream patch Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=18383
Archive::Ar doesn't take the 2-byte alignment (see <url:http://en.wikipedia.org/wiki/Ar_(file_format)>) of headers into account; neither when writing nor when reading. See upstream bug report (which he hasn't reacted on after a full year) for the former case. The latter case is sometimes not noticed because the s/// on line 322 is in multi-line mode; it should be single-line (/s). After line 335, add substr($scratchdata, 0, $headers->{size} % 2, ""); Or possibly add "\n?" to the beginning of the regexp on line 322. -- Magnus Holmgren [EMAIL PROTECTED]
pgpbgHLdaSjBZ.pgp
Description: PGP signature