You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
This seems related to issue 10. I tested branch "issue10" which doesn't solve the error. I could narrow down the issue to a small test. please see the attached code and binary input data. The following command will show the problem. $a.out image_dd rc=Z_BUF_ERROR`` Failedto compress the input file at offset 0x0
Looking through your test case, I don't think this is related to issue #10. The compress2() function returns Z_BUF_ERROR when the destination buffer isn't large enough. You're using compressBound() to determine the destination buffer size, so it looks like this function isn't calculating the correct upper bound for the new level 1 strategy.
This seems related to issue 10. I tested branch "issue10" which doesn't solve the error. I could narrow down the issue to a small test. please see the attached code and binary input data. The following command will show the problem.
$a.out image_dd
rc=Z_BUF_ERROR``
Failedto compress the input file at offset 0x0
zlib_bug.zip
The text was updated successfully, but these errors were encountered: