Wireshark-bugs: [Wireshark-bugs] [Bug 6573] tvbuff_t values leak if they have a child tvbuff_t (
Date: Sat, 12 Nov 2011 20:26:04 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6573

Robert G. Jakabosky <bobby@xxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #7408|                            |review_for_checkin?
               Flag|                            |

--- Comment #1 from Robert G. Jakabosky <bobby@xxxxxxxxxxxxxxx> 2011-11-12 20:26:03 PST ---
Created an attachment (id=7408)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7408)
Fix usage_count for parent tvbuff_t values.

The patch fixes the usage_count of parent tvbuff_t.  Also updates tvbtest.c
code to free all memory as a testcase of this bug.

Also there was a problem with composite type tvbuff's, the member tvbuffs where
added to the used_in list which increases the composite's usage_count, but on
freeing the usage_count of the members where decrease.  This would also cause
composites 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.