summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2014-01-24 12:32:39 +0000
committerNarayan Kamath <narayan@google.com>2014-01-24 13:41:55 +0000
commit48953a1b8fdcf1d6fa1aeeb40c57821d33fc87d2 (patch)
tree78d00e79119903bbc66c2f1b42a2de1cf11f7104 /trusty/coverage/coverage_test.cpp
parent1db584b899dffca884c3842c07da189f7c9af470 (diff)
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
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions