[Bug 530329] New: sblim-cmpi-ssh_service_profile-1.0.0-36.4: missing call to pclose
http://bugzilla.novell.com/show_bug.cgi?id=530329 Summary: sblim-cmpi-ssh_service_profile-1.0.0-36.4: missing call to pclose 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-ssh_service_profile-1.0.0-36.4 For source code file sblim-cmpi-ssh_service_profile-1.0.0/src/Resource.c around line 150 is the source code for the function GetSSHSessions. I notice the following line of code if (!(is = popen("/bin/netstat -tnp 2> /dev/null", "r"))) but I fail to notice a matching call to pclose at the end of the routine. This looks like a resource leak to me. Suggest add call to pclose. -- 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=530329 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |npaxton@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=530329 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=530329#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:54:59 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=530329 https://bugzilla.novell.com/show_bug.cgi?id=530329#c Norm Paxton <npaxton@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|npaxton@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=530329 https://bugzilla.novell.com/show_bug.cgi?id=530329#c Dirk Mueller <dmueller@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |kkaempf@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=530329 https://bugzilla.novell.com/show_bug.cgi?id=530329#c2 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium CC| |dmueller@suse.com Found By|--- |Third Party | |Developer/Partner AssignedTo|kkaempf@suse.com |npaxton@novell.com Severity|Normal |Major --- Comment #2 from Klaus Kämpf <kkaempf@suse.com> 2012-01-24 08:37:27 UTC ---
maintainer sblim-cmpi-ssh_service_profile npaxton@novell.com
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=530329 https://bugzilla.novell.com/show_bug.cgi?id=530329#c3 Norm Paxton <npaxton@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|npaxton@novell.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #3 from Norm Paxton <npaxton@novell.com> 2013-01-25 15:40:43 UTC --- Removing assignment to Norm Paxton (myself) as I have not touched sblim code or project in over 3 years. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=530329 https://bugzilla.novell.com/show_bug.cgi?id=530329#c Du Weihua <whdu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |kkaempf@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=530329 https://bugzilla.novell.com/show_bug.cgi?id=530329#c4 Klaus Kämpf <kkaempf@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #4 from Klaus Kämpf <kkaempf@suse.com> 2013-03-08 07:37:04 UTC --- https://build.opensuse.org/package/view_file?expand=1&file=bnc530329-pclose.patch&package=sblim-cmpi-ssh_service_profile&project=systemsmanagement%3Awbem ------------------------------------------------------------------- Tue Jan 24 08:45:54 UTC 2012 - kkaempf@suse.com - add missing pclose (bnc#530329) -- Configure bugmail: https://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