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

bugs at busybox.net bugs at busybox.net
Sun Jul 31 22:34:48 UTC 2005


The following issue has been CLOSED 
====================================================================== 
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:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-19-2005 09:19 PDT
Last Modified:              07-31-2005 15:34 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 

---------------------------------------------------------------------- 
 pgf - 07-20-05 12:24  
---------------------------------------------------------------------- 
Committed revision 10882. 

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                          
07-20-05 12:24  pgf            Status                   assigned => resolved
07-20-05 12:24  pgf            Resolution               open => fixed       
07-20-05 12:24  pgf            Note Added: 0000325                          
07-31-05 15:34  vapier         Status                   resolved => closed  
======================================================================




More information about the busybox-cvs mailing list