Bug 1034869

Summary: satyr: strbuf should measure lengths in size_t
Product: Red Hat Enterprise Linux 7 Reporter: Florian Weimer <fweimer>
Component: satyrAssignee: Martin Milata <mmilata>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Zachar <lzachar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: dkutalek, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satyr-0.9-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-13 11:18:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1034859    

Description Florian Weimer 2013-11-26 16:00:39 UTC
Using size_t instead of int avoids truncation issues and makes detecting wraparound easier (because signed overflow is undefined).

sr_strbuf_grow() should perform overflow/wraparound checks.

Comment 2 Martin Milata 2013-11-26 21:31:48 UTC
Thanks for the report. What do you think of the proposed solution: https://github.com/abrt/satyr/pull/136/files ?

Comment 5 Ludek Smid 2014-06-13 11:18:02 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.