Message171010
No, on the contrary, it is not such easy to fix, and the patch is incorrect.
Sorry that it is not clear either. The size of the header with extra args
depends on the size of the file. The file size can be changed in the process of
compressing, and compressed size may be larger than uncompressed size,
exceeding 32-bit boundary. Rewriting the header with extra args, we can
overwrite compressed data.
I was put off the issue for further more careful research. Thanks for the
reminder.
One solution is always (even for smallest files) to write 64-bit sizes when
allowZip64 is true. |
|
Date |
User |
Action |
Args |
2012-09-22 17:56:23 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, amaury.forgeotdarc, alanmcintyre, christian.heimes, nadeem.vawda, eric.araujo, lambacck, dandrzejewski, segfault42, craigds, enlavin, Paul, Kristof.Keppens |
2012-09-22 17:56:23 | serhiy.storchaka | link | issue9720 messages |
2012-09-22 17:56:22 | serhiy.storchaka | create | |
|