Re: [Wireshark-dev] tvbuff problem

2006-12-21 Thread Paul Forgey
On Tue, 19 Dec 2006 09:27:29 -0800, Stephen Fisher wrote: Could you send the code you're trying to use the composite in? That's sort of most the code right now. That's why I posted the gdb output because that pretty neatly sums up the problem. One way I can work around this is to do an evi

[Wireshark-dev] tvbuff problem

2006-12-19 Thread Paul Forgey
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 i