Bug 1336390

Summary: Fix defects found by coverity
Product: Red Hat Enterprise Linux 7 Reporter: Matej Habrnal <mhabrnal>
Component: satyrAssignee: Matej Habrnal <mhabrnal>
Status: CLOSED ERRATA QA Contact: Martin Kyral <mkyral>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: jberan, mkyral
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satyr-0.13-13.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 03:09:21 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:
Embargoed:
Attachments:
Description Flags
Patch 1/2: Fix defects found by coverity
none
Patch 2/2: Check the return value of sr_parse_char_cspan none

Description Matej Habrnal 2016-05-16 10:42:54 UTC
Description of problem:
Covscan found some errors in RHEL7 code (e.g. Calling "sr_parse_char_cspan" without checking return value in lib/python_stacktrace.c) which are fixed in upstream.

Backporting following commit should fix all the errors and some memory leaks as well:
https://github.com/abrt/satyr/commit/06840d459719da6987ebc9c279f9ebcca1a918cb

Comment 1 Matej Habrnal 2016-05-16 14:31:13 UTC
Created attachment 1157962 [details]
Patch 1/2: Fix defects found by coverity

Comment 2 Matej Habrnal 2016-05-16 14:31:15 UTC
Created attachment 1157963 [details]
Patch 2/2: Check the return value of sr_parse_char_cspan

Comment 6 errata-xmlrpc 2016-11-04 03:09:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2307.html