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

Wireshark-dev: Re: [Wireshark-dev] tvb in a conversation

From: Sebastien Tandel <sebastien@xxxxxxxxx>
Date: Fri, 27 Jul 2007 11:33:21 -0300
please don't do this! thanks :)


On Jul 27, 2007, at 6:37 AM, Andreas Sikkema wrote:

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  
_______________________________________________
Wireshark-dev mailing list

Regards,
Sebastien Tandel