change safety check on zip header to allow for extra length, and
authorPaul Fox <pgf@brightstareng.com>
Mon, 5 Nov 2007 23:09:03 +0000 (23:09 -0000)
committerPaul Fox <pgf@brightstareng.com>
Mon, 5 Nov 2007 23:09:03 +0000 (23:09 -0000)
commitcb981638f502f4cc5ea830edc7ef62ab71112186
tree19e370f6fe6a0da625b541b9fcbe09eb202c7654
parentf8b21d0933a06120bcac6981eb022b0c68e199f0
change safety check on zip header to allow for extra length, and
revert the header read to use the correct constant rather than
sizeof.  at least one version of gcc (armv4-linux-gcc-3.4.1) pads
the struct to 28 bytes in spite of the packing.
archival/unzip.c