Wireshark-commits: [Wireshark-commits] rev 25497: /trunk-1.0/ /trunk-1.0/docbook/: release-notes.xm

Date: Fri, 20 Jun 2008 20:25:06 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25497

User: gerald
Date: 2008/06/20 01:25 PM

Log:
 Flip the order of the arguments passed to add_to_used_in_list() in
 tvb_composite_append() and tvb_composite_prepend(). The used_in list
 determines the order in which tvbuffs are freed, and composite tvbuffs
 were being freed in the wrong order. Luckily, the RTMPT dissector was
 the only one using composite tvbuffs. Fixes bug 2620.
 
 Add checks for composite tvbuffs in a couple of places, so we don't
 accidently munge a non-composite tvbuff.

Directory: /trunk-1.0/docbook/
  Changes    Path                 Action
  +12 -0     release-notes.xml    Modified

Directory: /trunk-1.0/epan/
  Changes    Path          Action
  +7 -4      tvbuff.c      Modified