[Bug 524526] New: e2fsprogs-1.41.8-1.1: missing call to fclose
http://bugzilla.novell.com/show_bug.cgi?id=524526 Summary: e2fsprogs-1.41.8-1.1: 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: Basesystem 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 e2fsprogs-1.41.8-1.1 For source code file e2fsprogs-1.41.8/debugfs/debugfs.c, around line 1930 is the source code for the function source_file. I notice the following code f = fopen(cmd_file, "r"); but 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=524526 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=524526 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=524526#c1 Cristian Rodríguez <crrodriguez@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |crrodriguez@novell.com Resolution| |FIXED --- Comment #1 from Cristian Rodríguez <crrodriguez@novell.com> 2009-10-06 06:55:29 MDT --- fixed in upstream http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=commit;h=2d7ef236b752c1da78... -- 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.
participants (1)
-
bugzilla_noreply@novell.com