[Toybox] [PATCH] cpio: support reading concatenated cpio files.
Yi-yo Chiang
yochiang at google.com
Sat Apr 17 03:39:50 PDT 2021
>
>
> > i'll chase up the person using `toybox cpio` and move them over to the
> hermetic
> > prebuilt build toybox later. for now i'll try to reproduce this locally
> and see
> > what the trouble is...
>
> Is this a _new_ failure, or is this a failure of the concatenated files it
> didn't handle before? (I.E. did my patch just not fix your issue since I
> don't
> have access to that test case to confirm I'd fixed it, or is it now more
> broken
> than it was?)
>
> Rob
>
It's a new failure, before the patch, cpio stops when it sees TRAILER!!!;
after the patch, cpio reads past TRAILER!!! and it chokes on the arbitrary
NUL runs after TRAILER!!!, because cpio is expecting a header
--
Yi-yo Chiang
Software Engineer
yochiang at google.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20210417/ef84196a/attachment-0001.html>
More information about the Toybox
mailing list