Red Hat Bugzilla – Bug 622779
zlib has fence-post error in adler32_combine
Last modified: 2013-04-12 16:44:07 EDT
Description of problem:
zlib as shipped has a fence-post error in the adler32_combine routine which can occasionally result in an incorrect checksum being calculated
This has been corrected in zlib-1.2.4
Version-Release number of selected component (if applicable):
upstream changelog simply reads
"- Fix bug in adler32_combine() [Zhu]"
Created attachment 437860 [details]
patch for adler32_combine bug
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
When used to combine two Adler-32 checksums, the adler32_combine() function could occasionally produce an incorrect result. With this update, an upstream patch has been applied to fix the underlying algorithm, and the adler32_combine() function no longer returns incorrect checksums.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.