Menu

#258 AdvanceCOMP 2.0 x64: 7-Zip's Deflate fails on big files

other
open
nobody
None
5
2017-06-17
2017-06-17
Shell
No

Both advzip and advdef fail shortly after start (but not immediately) when called with -z -3 on big Deflated image data. Other methods (zlib, libdeflate and zopfli) work as expected. Both ZIP and PNG formats cause the error.

Platform: Windows Server 2016 x64
File: 2484.5 MB (38309x22668 RGB, PNG predictor) original, 32.2 MB compressed
Fail type: write access violation (probably buffer overflow in memcpy())

Is it possible to get a precompiled Windows binary with debug information? Then I can localize the problem more precisely.

P.S. Since the file exceeds 2 GB, I suspect this fail is caused by signed 32-bit arithmetic somewhere in 7-Zip's code. I also think this problem may be related to the feature request #257.

Discussion


Log in to post a comment.