Wireshark-bugs: [Wireshark-bugs] [Bug 3917] tvb_new_real_data is prone to memory leak.

Date: Mon, 11 Jan 2010 08:19:30 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3917

Anders Broman <anders.broman@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anders.broman@xxxxxxxxxxxx

--- Comment #2 from Anders Broman <anders.broman@xxxxxxxxxxxx> 2010-01-11 08:19:28 PST ---
Committ revision 31499.
Leaves this unfixed, more elaboration on the possible leaks would help:
./asn1/kerberos/packet-kerberos-template.c
may leak memory, not all code paths call tvb_free(encr_tvb).

./epan/dissectors/packet-dcp-etsi.c
surely leak tvb structure memory.

./epan/dissectors/packet-ssl-utils.c
leak tvb structure memory.

./epan/dissectors/packet-nfs.c
leak tvb structure memory.

./epan/dissectors/packet-rtmpt.c
may leak memory, anyway it uses tvb_composite_append() so it surely broken.

./epan/dissectors/packet-syslog.c
leak memory.

./plugins/asn1/packet-asn1.c
leak and dissect a tvb buff in proto_reg_handoff() outside a TRY block.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.