RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1336390 - Fix defects found by coverity
Summary: Fix defects found by coverity
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: satyr
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Matej Habrnal
QA Contact: Martin Kyral
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-16 10:42 UTC by Matej Habrnal
Modified: 2019-03-06 01:08 UTC (History)
2 users (show)

Fixed In Version: satyr-0.13-13.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 03:09:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch 1/2: Fix defects found by coverity (8.31 KB, patch)
2016-05-16 14:31 UTC, Matej Habrnal
no flags Details | Diff
Patch 2/2: Check the return value of sr_parse_char_cspan (1.12 KB, patch)
2016-05-16 14:31 UTC, Matej Habrnal
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2307 0 normal SHIPPED_LIVE abrt, gnome-abrt, and libreport bug fix and enhancement update 2016-11-03 13:40:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.