patch: unzip succeeds with CRC errors

Glenn L. McGrath bug1 at ihug.co.nz
Wed Mar 29 07:50:07 UTC 2006


On Tue, 28 Mar 2006 16:40:44 -0500
Rob Landley <rob at landley.net> wrote:

> On Tuesday 28 March 2006 2:47 pm, Paul Fox wrote:
> >  > busybox tar behaves like busybox unzip did -- it reports the error,
> >  > and exits successfully.  having just fixed this in unzip, i'll take
> >  > a look at tar.
> >
> > i looked, and i can say that i definitely don't have time.  the
> > layering is deeper than it was with unzip, and the retesting more
> > time-consuming.  someone else can handle this one.
> >
> > paul
> 
> This looks like a job for Glenn McGrath!
> 
> Paul: could you explain to Glenn what you want to do to tar?  (And anything 
> you didn't do to unzip that you still want to do?)  He wrote the current 
> archiving library code, and actually seems to understand it. :)

Yea, i can have a look at it, off the top of my head i think
tar/ar/cpio will all fail straight away if the headers field checks
fail.

I guess the thinking was that if the headers get out of alignment then
it would be pretty compplex thrying to align them again.


Glenn



More information about the busybox mailing list