Bug 138770

Summary: pinfo corrupts memory --> glibc kills it
Product: [Fedora] Fedora Reporter: Sami Farin <hvtaifwkbgefbaei>
Component: pinfoAssignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: high Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-12-23 18:13:31 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:
Attachments:
Description Flags
memory corruption fix
none
small memleak fix none

Description Sami Farin 2004-11-11 01:33:22 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20041020

Description of problem:
pinfo corrupts glibc's internal states, causing abnormal program
termination if you're unlucky.

also, fixed one small memory leak (patch attached).


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

How reproducible:
Always

Steps to Reproduce:
1. have gcc-3.4.3 info files installed.  (maybe other versions work, too.)
2. start "pinfo gcc"
3. select ``Keyword Index''
4. select any of the topics.

    

Actual Results:  *** glibc detected *** double free or corruption:
0x0807aec8 ***

(pinfo gets killed)

Expected Results:  getting the topic I wanted.


Additional info:

glibc-2.3.3-73 (i686)

Comment 1 Sami Farin 2004-11-11 01:35:17 UTC
Created attachment 106466 [details]
memory corruption fix

Comment 2 Sami Farin 2004-11-11 01:36:48 UTC
Created attachment 106467 [details]
small memleak fix

Comment 4 Mike A. Harris 2004-12-23 18:13:31 UTC
Thanks for the report, and patches!  Patches applied to 
pinfo-0.6.8-8, and built in Fedora development.

Thanks again.