[Bug 530336] New: sblim-cmpi-syslog-0.7.11-110.9: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=530336 Summary: sblim-cmpi-syslog-0.7.11-110.9: 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 sblim-cmpi-syslog-0.7.11-110.9 For source code file sblim-cmpi-syslog-0.7.11/syslog-service/util/syslogserviceutil.c around line 140 is the source code for the function Syslog_Service_Operation. I notice the following line of code if (system(cmdbuffer)==0 && (fcmdout = fopen(cmdout,"r")) && but I fail to notice a 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=530336 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mhrusecky@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=530336 User mhrusecky@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=530336#c1 Michal Hrusecky <mhrusecky@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Michal Hrusecky <mhrusecky@novell.com> 2009-08-24 10:12:57 MDT --- Thank you for your bugreport, fix is on its way to the Factory. -- 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=530336 http://bugzilla.novell.com/show_bug.cgi?id=530336#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (530336) was mentioned in https://build.opensuse.org/request/show/18580 Factory / sblim-cmpi-syslog -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com