[BusyBox-cvs] [BusyBox 0000262]: tar -x doesn't believe it has reached the end of archive
bugs at busybox.net
bugs at busybox.net
Tue Jun 21 20:01:54 UTC 2005
A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=262>
======================================================================
Reported By: owlman
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 262
Category: Standards Compliance
Reproducibility: sometimes
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 05-19-2005 09:19 PDT
Last Modified: 06-21-2005 13:01 PDT
======================================================================
Summary: tar -x doesn't believe it has reached the end of
archive
Description:
Some (other) tars don't follow the recommendation to fill with zeros the
space between the two consecutive empty headers at the end of archive and
the actual end of file, and so there are some tar archives with garbage in
that slack space. Busybox tar keeps interpreting everything, and when it
reaches that garbage, complains about "invalid tar magic". The attached
patch appropriately detects the end of archive and then empties the input
pipe.
======================================================================
----------------------------------------------------------------------
leedm777 - 06-21-05 13:01
----------------------------------------------------------------------
FWIW, this patch fixes problems that I had with .tar files generated by
ANT.
http://ant.apache.org
http://ant.apache.org/manual/CoreTasks/tar.html
Issue History
Date Modified Username Field Change
======================================================================
05-19-05 09:19 owlman New Issue
05-19-05 09:19 owlman File Added: get_header_tar.c.diff
05-20-05 01:53 owlman Issue Monitored: owlman
06-21-05 13:01 leedm777 Note Added: 0000251
======================================================================
More information about the busybox-cvs
mailing list