[BusyBox-cvs] [BusyBox 0000262]: tar -x doesn't believe it has reached the end of archive

bugs at busybox.net bugs at busybox.net
Thu May 19 16:19:59 UTC 2005


The following issue has been SUBMITTED.
======================================================================
<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:              05-19-2005 09:19 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.
======================================================================

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                 
  
======================================================================




More information about the busybox-cvs mailing list