Bug 185283 - File descriptor leak
File descriptor leak
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kudzu (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-13 03:15 EST by JW
Modified: 2014-03-16 22:58 EDT (History)
1 user (show)

See Also:
Fixed In Version: 1.2.35-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-03-13 16:05:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description JW 2006-03-13 03:15:37 EST
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 16:05:33 EST
Fixed, will be in 1.2.35-1.

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