[Bug 544437] New: openhpi-2.14.0-1.1: missing call to close
http://bugzilla.novell.com/show_bug.cgi?id=544437 Summary: openhpi-2.14.0-1.1: missing call to close 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 openhpi-2.14.0-1.1 source code file openhpi-2.14.0/plugins/ilo2_ribcl/ilo2_ribcl_discover.c function ilo2_ribcl_getfile local variable fd I notice the following code if( (fd = open( fname, O_RDONLY)) == -1){ but I fail to find a matching call to close. This looks like a resource leak to me. Suggest add call to close near the end of the function. -- 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=544437
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=544437
User mrueckert@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544437#c1
Marcus Rückert
http://bugzilla.novell.com/show_bug.cgi?id=544437
User dcb314@hotmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544437#c2
David Binderman
the upstream bug report tool is at http://sourceforge.net/tracker/?group_id=71730&atid=532251 .
I see that a certain MRueckert already has an account with sourceforge.
please open a bugreport there and link the resulting bug here. thanks in advance.
Thanks for your offer, but I will not be creating an account at sourceforge anytime soon. Feel free to submit the bug report to sourceforge, if you wish. -- 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=544437
User shuah.khan@hp.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544437#c3
Shuah Khan
http://bugzilla.novell.com/show_bug.cgi?id=544437
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=544437#c4
--- Comment #4 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=544437
http://bugzilla.novell.com/show_bug.cgi?id=544437#c5
Marcus Rückert
participants (1)
-
bugzilla_noreply@novell.com