[Bug 525834] New: iproute2-2.6.25-45.29: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=525834 Summary: iproute2-2.6.25-45.29: 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: Network 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 iproute2-2.6.25-45.29 For source code file iproute2-2.6.25/ip/iptunnel.c around line 390 is the source code for the function do_tunnels_list. I notice the following line of code FILE *fp = fopen("/proc/net/dev", "r"); but no 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=525834
Dirk Mueller
http://bugzilla.novell.com/show_bug.cgi?id=525834
User ms@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=525834#c1
Marcus Schaefer
participants (1)
-
bugzilla_noreply@novell.com