diff options
author | 2025-03-04 13:20:40 -0800 | |
---|---|---|
committer | 2025-03-04 15:06:49 -0800 | |
commit | e99ce05d948f1847181006b3fc8a8a810ea2a60b (patch) | |
tree | 53722518568ee2e4741c1b1bcbee744bc31f3494 /java/testing.go | |
parent | 156085b945de668069e1a35de3a2d3cb4b31618d (diff) |
merge_zips: fix compressed size and CRC32 fields for inserted manifests
The compressed size and CRC32 fields in the file headers were left at
0 for inserted manifests, resulting in an invalid zip file. Insert the
compressed size and CRC32 fields anywhere the FileHeader is created
directly.
Adds tests for the merge_zips options that add files to the zip.
Test: TestMergeZips
Change-Id: Ib027f868aa6e55f848ccaaa18582ecbc54c9a8f6
Diffstat (limited to 'java/testing.go')
0 files changed, 0 insertions, 0 deletions