Red Hat Bugzilla – Bug 185283
File descriptor leak
Last modified: 2014-03-16 22:58:50 EDT
Description of problem:
Kudzu doesn't explitictly close file descriptor after writing to modules.conf
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install kudzu source
2.go to modules.c:writeConfModules()
3.study what happens to local variable "fd"
file not closed until exit()'s default actions
file should be explicity closed with "close(fd)"
Fixed, will be in 1.2.35-1.