Wireshark-dev: [Wireshark-dev] What's the proper way to modify the tvb content for upper layer
From: Sylvain Munaut <246tnt@xxxxxxxxx>
Date: Sun, 30 Oct 2011 12:17:17 +0100
Hi,

I have a protocol where the payload for the next layer is not simply
the rest of the tvb ( The last nibble of the last octet of data octet
needs to come from some fields in the header ).

So before I handoff the tvb for further dissection (or hand it off to
the segmentation handling), I need to alter it. What's the proper way
to do that and ensure I don't create a memory leak ?

Cheers,

    Sylvain