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
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Regards,
Sebastien Tandel



_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to