Bug 185283

Summary: File descriptor leak
Product: [Fedora] Fedora Reporter: JW <ohtmvyyn>
Component: kudzuAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.2.35-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-03-13 21:05:33 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:

Description JW 2006-03-13 08:15:37 UTC
Description of problem:
Kudzu doesn't explitictly close file descriptor after writing to modules.conf

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

How reproducible:
always

Steps to Reproduce:
1.install kudzu source
2.go to modules.c:writeConfModules()
3.study what happens to local variable "fd"
  
Actual results:
file not closed until exit()'s default actions

Expected results:
file should be explicity closed with "close(fd)"

Additional info:

Comment 1 Bill Nottingham 2006-03-13 21:05:33 UTC
Fixed, will be in 1.2.35-1.