Wireshark-dev: Re: [Wireshark-dev] tvb in a conversation
From: "Andreas Sikkema" <andreas.sikkema@xxxxxxxxxx>
Date: Fri, 27 Jul 2007 11:37:12 +0200
> I want to use the tvb from one packet in another packet. So I 
> use conversations for that.
> 
> When I use this conversation later in another packet, I can't 
> use the tvb from the conversation. If I simple print the type 
> of the tvbuffer, the output is something like 14343243 
> instead of 0,1 or 2.

I suspect the tvb is being freed after dissecting the previous 
packet has finished. You should copy the tvb instead of just 
saving a pointer to it.


-- 
Andreas Sikkema                        BBeyond
Software Engineer                Planeetbaan 4
+31 (0)23 7074342            2132 HZ Hoofddorp