Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6573] New: tvbuff_t values leak if they have a child tvbuf

Date: Sat, 12 Nov 2011 20:18:03 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6573

           Summary: tvbuff_t values leak if they have a child tvbuff_t
                    (memory leak)
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: bobby@xxxxxxxxxxxxxxx


Build Information:
wireshark 1.7.1 (SVN Rev Unknown from unknown)

Copyright 1998-2011 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.5, with Cairo 1.10.2, with Pango 1.29.4, with
GLib 2.30.1, without libpcap, with libz 1.2.5, without POSIX capabilities,
without SMI, without c-ares, without ADNS, with Lua 5.1, without Python,
without
GnuTLS, without Gcrypt, without Kerberos, without GeoIP, without PortAudio,
without AirPcap.

Running on Linux 3.0.4-gentoo, with locale en_US.utf8, , with libz 1.2.5.

Built using gcc 4.4.5.

--
Using any of these functions will cause a tvbuff_t to leak:
tvb_new_octet_aligned
tvb_set_child_real_data_tvbuff
tvb_new_child_real_data
tvb_child_uncompress

The usage_count of the parent tvbuff_t is increased for each child tvbuff_t,
but is not decreased for child tvbuff_t's when tvb_free_chain() is called. 
This causes the parent tvbuff_t to leak.

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