[Bug 542476] New: util-linux-2.16-2.8: memory leak

http://bugzilla.novell.com/show_bug.cgi?id=542476 Summary: util-linux-2.16-2.8: memory leak 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 util-linux-2.16-2.8 For source code file util-linux-ng-2.16/disk-utils/fdformat.c around line 60, function verify_disk is the following code if ((data = (unsigned char *) malloc(cyl_size)) == NULL) PERROR("malloc"); but I fail to notice a matching call to free. This looks like a memory leak to me. Suggest add call to free. -- 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=542476 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=542476 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542476#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-04 14:15:43 MDT --- Patch sent to upstream .. fix should appear in later versions. -- 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=542476 User crrodriguez@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=542476#c2 --- Comment #2 from Cristian Rodríguez <crrodriguez@novell.com> 2009-10-06 06:46:04 MDT --- Upstream Commit : http://git.kernel.org/?p=utils/util-linux-ng/util-linux-ng.git;a=commit;h=46... -- 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