On Oct 23, 2020, at 8:39 AM, Jaap Keuter <jaap.keu...@xs4all.nl> wrote:

> The better approach is to add the item with length -1, meaning until the end 
> of the buffer.

Yes.  This * 10^100^100^100^100^100^100^100.

Doing that also means that, if an exception is thrown before the dissection of 
the item finishes, the item will run up to the point at which the dissection 
stops (assuming the exception is caused by hitting the end of the tvbuff).
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to