[Bug 542491] New: wireshark-1.2.1-1.15: two memory leaks
http://bugzilla.novell.com/show_bug.cgi?id=542491 Summary: wireshark-1.2.1-1.15: two memory leaks Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: All OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network 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 wireshark-1.2.1-1.15 For source code file wireshark-1.2.1/gtk/sctp_assoc_analyse.c, there appears to be two unused local variables. I can prove this from the command line
fgrep ip_src ../BUILD/wireshark-1.2.1/gtk/sctp_assoc_analyse.c guint8* ip_src; ip_src = g_malloc(edt->pi.net_src.len); memcpy(ip_src, edt->pi.net_src.data, edt->pi.net_src.len);
and
fgrep ip_dst ../BUILD/wireshark-1.2.1/gtk/sctp_assoc_analyse.c guint8* ip_dst; ip_dst = g_malloc(edt->pi.net_dst.len); memcpy(ip_dst, edt->pi.net_dst.data, edt->pi.net_dst.len);
Sugest remove the two local variables that are causing two memory leaks. -- 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=542491
Marcus Meissner
http://bugzilla.novell.com/show_bug.cgi?id=542491
User prusnak@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=542491#c1
Pavol Rusnak
participants (1)
-
bugzilla_noreply@novell.com