[Bug 528581] New: nmap-4.75-1.76: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=528581 Summary: nmap-4.75-1.76: 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 nmap-4.75-1.76 For source code file nmap-4.75/tcpip.cc around line 3070 is the source code for the function getsysroutes. I notice the following line of code routefp = fopen("/proc/net/route", "r"); but I fail to find a matching call to fclose. This seems to be a resource leak. Suggest code rework, possibly by adding 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=528581 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=528581 User anicka@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=528581#c1 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |anicka@novell.com Resolution| |FIXED --- Comment #1 from Anna Bernathova <anicka@novell.com> 2009-10-09 06:12:16 MDT --- Fixed. -- 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=528581 http://bugzilla.novell.com/show_bug.cgi?id=528581#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (528581) was mentioned in https://build.opensuse.org/request/show/22159 Factory / nmap -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com