[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
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
http://bugzilla.novell.com/show_bug.cgi?id=528581
http://bugzilla.novell.com/show_bug.cgi?id=528581#c2
--- Comment #2 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com