<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Aug 6, 2012 at 7:16 PM, Oleg Goldshmidt <span dir="ltr"><<a href="mailto:pub@goldshmidt.org" target="_blank">pub@goldshmidt.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">shimi <<a href="mailto:linux-il@shimi.net">linux-il@shimi.net</a>> writes:<br>
<br>
> On Mon, Aug 6, 2012 at 5:35 PM, Oleg Goldshmidt <<a href="mailto:pub@goldshmidt.org">pub@goldshmidt.org</a>> wrote:<br>
><br>
> $ unzip -l file.log.zip<br>
> Archive: file.log.zip<br>
> warning [file.log.zip]: 16 extra bytes at beginning or within<br>
> zipfile<br>
> (attempting to process anyway)<br>
> Length Date Time Name<br>
> --------- ---------- ----- ----<br>
> 71992 08-06-2012 16:05 zipit.10182<br>
> --------- -------<br>
> 71992 1 file<br>
><br>
> and the archive cannot be opened:<br>
><br>
> Maybe I missed it, but, what _are_ the first 16 bytes? Anything<br>
> interesting? It sounds like something is sent to the zip that is not<br>
> supposed to be sent there, e.g. redirect from stderr, like a notice<br>
> going there. Any chance those 16 bytes are human readable ASCII?<br>
<br>
</div></div>Hmm... It never occurred to me to check because the warning does not<br>
say that the extra bytes are at the beginning - it says "at beginning<br>
or within". This seems to be consistent with the unzip code that<br>
outputs the warning when some combination of offsets does not look<br>
right (maybe I missed something but it didnt look like the beginning<br>
of the file was specificlly checked).<br>
<br>
I will only regain access to the test system on Wednesday - will od or<br>
similar then.<br>
<br></blockquote><div><br>Good point. Though if my direction is true, good chances are that it will be in the beginning or the end, no? I guess 'strings' can be used, too :-)<br><br>Actually, thinking it further, ZIP's directory ('filesystem'), AFAIK, is at the end of the file, and you get the error even with listing only. Maybe gibberish went to the end :-)<br>
<br>-- Shimi<br></div></div><br></div>