[Bug 529469] New: pciutils-3.1.2-1.34: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=529469 Summary: pciutils-3.1.2-1.34: 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 pciutils-3.1.2-1.34 For source code file pciutils-3.1.2/lib/dump.c around line 70 is the source code for the function dump_init. I notice the following line of code if (!(f = fopen(name, "r"))) but I notice no matching call to fclose. This looks like a resource leak to me. Suggest code rework. -- 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=529469 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |anicka@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=529469 User anicka@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=529469#c1 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #1 from Anna Bernathova <anicka@novell.com> 2009-08-10 08:06:26 MDT --- Fixed, thanks. -- 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=529469 http://bugzilla.novell.com/show_bug.cgi?id=529469#c2 --- Comment #2 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (529469) was mentioned in https://build.opensuse.org/request/show/17355 Factory / pciutils -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com