Bug 185283 - File descriptor leak
File descriptor leak
Product: Fedora
Classification: Fedora
Component: kudzu (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
David Lawrence
Depends On:
  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:
Last Closed: 2006-03-13 16:05:33 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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):

How reproducible:

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.