[Bug 543126] New: cluster-glue-0.9-1.6: missing call to close
http://bugzilla.novell.com/show_bug.cgi?id=543126 Summary: cluster-glue-0.9-1.6: 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 cluster-glue-0.9-1.6 source code file cluster-glue/lib/plugins/stonith/meatware.c function meatware_reset_req local variable fd. I notice the following code fd = open(meatpipe, O_RDONLY); but I fail to notice a matching call to close. This looks like a resource leak to me. Suggest add 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=543126
User rguenther@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=543126#c2
--- Comment #2 from Richard Guenther
http://bugzilla.novell.com/show_bug.cgi?id=543126
User lmb@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=543126#c3
Lars Marowsky-Bree
participants (1)
-
bugzilla_noreply@novell.com