Bug 622779

Summary: zlib has fence-post error in adler32_combine
Product: Red Hat Enterprise Linux 5 Reporter: Martin Poole <mpoole>
Component: zlibAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: high    
Version: 5.0CC: azelinka, cww, jwest, rdassen, rvokal, tao
Target Milestone: rcKeywords: EasyFix, Patch, Upstream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of:
: 622781 (view as bug list) Environment:
Last Closed: 2011-05-11 07:24:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 590060    
Attachments:
Description Flags
patch for adler32_combine bug none

Description Martin Poole 2010-08-10 12:04:28 UTC
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):

zlib-1.2.3-3


upstream changelog simply reads

  "- Fix bug in adler32_combine() [Zhu]"

Comment 2 Martin Poole 2010-08-10 12:07:35 UTC
Created attachment 437860 [details]
patch for adler32_combine bug

Comment 13 Jaromir Hradilek 2011-04-18 12:43:04 UTC
    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.
    
    New Contents:
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.

Comment 15 errata-xmlrpc 2011-05-11 07:24:32 UTC
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.

http://rhn.redhat.com/errata/RHBA-2011-0503.html