BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000262 [BusyBox] Standards Compliance minor sometimes 05-19-05 09:19 07-31-05 15:34
Reporter owlman View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.00
Summary 0000262: 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.
Additional Information
Attached Files  get_header_tar.c.diff [^] (963 bytes) 05-19-05 09:19

- Relationships

- Notes
(0000251)
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 [^]
 
(0000325)
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


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker