summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/archive_util.c
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2009-03-06 04:50:39 +0000
committerkientzle <kientzle@FreeBSD.org>2009-03-06 04:50:39 +0000
commit409cc977f6064716e39b1fec8562cb8aaab07e48 (patch)
tree121e15a94ddfcf8ce362b1908b6ba2c3bdc71ce2 /lib/libarchive/archive_util.c
parent559aad6489401705ac2b4f98ca4fbe15b69908e4 (diff)
downloadFreeBSD-src-409cc977f6064716e39b1fec8562cb8aaab07e48.zip
FreeBSD-src-409cc977f6064716e39b1fec8562cb8aaab07e48.tar.gz
Merge r407,r508 from libarchive.googlecode.com: Correctly handle
Zip entries that are zero length but stored with deflate. This is arguably a silly thing to do (deflating a zero-length file actually makes it bigger) but apparently quite a few Zip writers do this. This was broken in two places: archive_write_disk disliked being asked to write data to zero-length files (even if the write was zero-length) and zip_read_file_header tripped over itself when non-regular files had compressed bodies.
Diffstat (limited to 'lib/libarchive/archive_util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud