Bug 740630 - Fix freeing of data structures in pci_free_cap()
Summary: Fix freeing of data structures in pci_free_cap()
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: pciutils
Version: 6.1
Hardware: All
OS: Linux
Target Milestone: rc
: 6.1
Assignee: Michal Hlavinka
QA Contact: Iveta Wiedermann
Depends On:
Blocks: 740837 748554
TreeView+ depends on / blocked
Reported: 2011-09-22 18:06 UTC by Neal Kim
Modified: 2018-12-01 18:53 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-12-06 19:05:04 UTC

Attachments (Terms of Use)
Fixed freeing of capabilities. (399 bytes, patch)
2011-09-22 18:43 UTC, Neal Kim
no flags Details | Diff

System ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1760 normal SHIPPED_LIVE pciutils bug fix and enhancement update 2011-12-06 01:01:39 UTC

Description Neal Kim 2011-09-22 18:06:57 UTC
Description of problem:

Fix freeing of data structures in pci_free_cap().

Fix has been present since pciutils v3.1.5

kernel.org is still currently down so here is another link to the commit.


Version-Release number of selected component (if applicable):

Actual results:

Encounter the following error:

*** glibc detected *** double free or corruption (!prev): ***

Expected results:

No error.

Additional info:

Customer is developing an application using the pciutils-libs and encountered the aforementioned issue. Using the upstream versions of pciutils 3.1.5 and 3.1.6 issue goes away.

Comment 3 RHEL Product and Program Management 2011-09-22 18:27:55 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support

Comment 4 Neal Kim 2011-09-22 18:43:51 UTC
Created attachment 524458 [details]
Fixed freeing of capabilities.

http://www.jur-linux.com/git/?p=pciutils.git;a=commit h=adb9abcf60bcb91d93e456152cb3d04d09a9677c

Comment 17 errata-xmlrpc 2011-12-06 19:05:04 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.


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