[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
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
https://bugzilla.novell.com/show_bug.cgi?id=530329
https://bugzilla.novell.com/show_bug.cgi?id=530329#c
Norm Paxton
https://bugzilla.novell.com/show_bug.cgi?id=530329
https://bugzilla.novell.com/show_bug.cgi?id=530329#c
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=530329
https://bugzilla.novell.com/show_bug.cgi?id=530329#c2
Klaus Kämpf
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
https://bugzilla.novell.com/show_bug.cgi?id=530329
https://bugzilla.novell.com/show_bug.cgi?id=530329#c
Du Weihua
https://bugzilla.novell.com/show_bug.cgi?id=530329
https://bugzilla.novell.com/show_bug.cgi?id=530329#c4
Klaus Kämpf
participants (1)
-
bugzilla_noreply@novell.com