kannoll wrote:
> That's a good idea, and I'll probably have a place to use it, but my
> immediate problem is packets that end before expected,

...which means that you'd be trying to fetch data past the end of the 
packet, right?  If so, an exception would be thrown (as you're going 
past the end of the tvbuff), and the packet will be marked as malformed 
for you - you don't even have to write any code to do that.
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to