[Bug 531220] New: uml-utilities-20070815-36.8: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=531220 Summary: uml-utilities-20070815-36.8: 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 uml-utilities-20070815-36.8 For source code file tools-20070815/mconsole/uml_mconsole.c around line 70 is the source code for the function do_switch. I notice the following line of code fp = fopen(pid_path, "r"); but I fail to notice a matching call to fclose. This looks like a resource leak to me. Suggest add a 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=531220 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |hvogel@novell.com |ovo.novell.com | -- 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=531220 User dcb314@hotmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=531220#c1 David Binderman <dcb314@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium --- Comment #1 from David Binderman <dcb314@hotmail.com> 2009-09-04 07:17:48 MDT --- Same file, function log_cmd, local variable input_fd, missing call to close -- 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=531220 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=531220#c2 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |crrodriguez@novell.com Resolution| |FIXED --- Comment #2 from Cristian Rodríguez <crrodriguez@novell.com> 2009-10-05 12:50:19 MDT --- fixed in SR21868. -- 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.
participants (1)
-
bugzilla_noreply@novell.com