[Bug 533418] New: alevt-1.6.2-71.7: possible memory leak + strange code
http://bugzilla.novell.com/show_bug.cgi?id=533418 Summary: alevt-1.6.2-71.7: possible memory leak + strange code 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 alevt-1.6.2-71.7 For source code file alevt-1.6.2/fdset.c around line 30 is the source code for the function fdset_add_fd. I notice the following line of code if (not(fn = malloc(sizeof(*fn)))) but I fail to notice a matching call to free. Also, I notice that fn->node isn't initialised, but it is used as a parameter to dl_insert_last. Maybe better code might be dl_insert_last( fds->list, fn); but that's only a guess. -- 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=533418 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |jw@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=533418 User rguenther@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=533418#c1 --- Comment #1 from Richard Guenther <rguenther@novell.com> 2009-10-17 08:55:08 MDT --- David, in case the issues are not introduced by a patch local to openSUSE please report the issues upstream. Packagers, please do not add openSUSE-local patches to fix this kind of errors but forward the bugs upstream and close the bugs as RESOLVED UPSTREAM. Note that it is perfectly fine to have "resource leaks" at the end of a program as the kernel will clean up for you. Manually freeing them only increases binary size and runtime. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=533418 https://bugzilla.novell.com/show_bug.cgi?id=533418#c2 Juergen Weigert <jw@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |WONTFIX --- Comment #2 from Juergen Weigert <jw@suse.com> 2011-12-06 17:34:31 UTC --- please talk to upstream -- Configure bugmail: https://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