On 2015-02-15, sebb wrote:

> On 13 February 2015 at 19:12,  <bode...@apache.org> wrote:
>> Author: bodewig
>> Date: Fri Feb 13 19:12:09 2015
>> New Revision: 1659649

>> URL: http://svn.apache.org/r1659649
>> Log:
>> python tarfile library seems to create embedded NULs, COMPRESS-301, unit 
>> test to follow

> -1 (for the moment)

reverted.

Actually the file src/test/resources/COMPRESS-178.tar is one with
embedded NULs in a numeric field.  This is what GNU tar says

$ tar tvf COMPRESS-178.tar
tar: This does not look like a tar archive
tar: Skipping to next header
-rw-r--r-- tcurdt/tcurdt    82 2007-11-14 11:19 test2.xml
tar: Exiting with failure status due to previous errors

It is a bit more forgiving that Compress as it processes the remainder
of the archive, but doesn't accept the "broken" header either.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to