platform_system_core/libziparchive
Narayan Kamath 48953a1b8f Fix entry handling for 0 length entries.
Two minor issues were fixed:
- The offset to entry data can be the same as the
  central directory offset when the last entry in the
  file has length 0 and is stored (not deflated). Fix
  a check that disallowed this. We already have a strict
  check that entry data must end before the central directory,
  so we're covered.
- We would attempt to map a segment of length 0 when writing
  an entry whose length is 0. We should just return early in
  this case.

bug: 12623277
Change-Id: I2a4ca0c4d170cc3cbf326e5ca13894acd9c434c9
2014-01-24 13:41:55 +00:00
..
testdata Add unit tests for libziparchive. 2013-12-10 16:48:50 +00:00
Android.mk Fix a sporadic build breakage. 2014-01-03 15:40:37 +00:00
zip_archive.cc Fix entry handling for 0 length entries. 2014-01-24 13:41:55 +00:00
zip_archive_test.cc Fix entry handling for 0 length entries. 2014-01-24 13:41:55 +00:00