ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] tvbuff problem

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Tue, 19 Dec 2006 09:27:29 -0800
On Tue, Dec 19, 2006 at 12:23:29AM -0800, Paul Forgey wrote:

> I have a tvbuff that is a composite made from a single subset. If I 
> try to add a tree item pointing to a non-0 offset into this buffer, I 
> get an exception. I can see the following behavior in the debugger.  
> Why is this happening? How should I dissect fields within this buffer 
> if I can't do it with a simple offset/length?

Could you send the code you're trying to use the composite in?

Steve