[Bug 540414] New: libetpan-0.58-1.19: memory leak and some dodgy code
http://bugzilla.novell.com/show_bug.cgi?id=540414 Summary: libetpan-0.58-1.19: memory leak and some dodgy 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 libetpan-0.58-1.19 For source code file libetpan-0.58/src/low-level/imap/mailimap_types.c around line 2050, function mailimap_response_fatal_new is the following code resp_fatal = malloc(sizeof(* resp_fatal)); but I fail to detect a matching call to free. This looks like a memory leak to me. Suggest add call to free near the end of the block. Also, it seems that the function only ever returns the value NULL. This looks wrong - some variation in return value is more usual. -- 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=540414 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |puzel@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=540414 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED Severity|Normal |Minor -- 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=540414 User puzel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=540414#c1 Petr Uzel <puzel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |UPSTREAM --- Comment #1 from Petr Uzel <puzel@novell.com> 2009-10-05 03:57:53 MDT --- This has been already fixed in upstream git repository. -- 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