[Bug 525831] New: ipmitool-1.8.10-109.57: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=525831 Summary: ipmitool-1.8.10-109.57: missing call to fclose Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: dcb314@hotmail.com QAContact: qa@suse.de Found By: --- I just had a look at factory package ipmitool-1.8.10-109.57 For source code file ipmitool-1.8.10/lib/ipmi_fwum.c around line i511 is the source code for the function KfwumSetupBuffersFromFile. I notice the following line of code pFileHandle = fopen((const char *)pFileName, "rb"); but no matching call to fclose. This looks like a resource leak to me. Suggest add call to fclose. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=525831
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=525831
User trenn@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525831#c1
Thomas Renninger
http://bugzilla.novell.com/show_bug.cgi?id=525831
http://bugzilla.novell.com/show_bug.cgi?id=525831#c2
--- Comment #2 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com