Wireshark-dev: Re: [Wireshark-dev] MATE not extracting fields as requested
From: Guy Harris <gharris@xxxxxxxxx>
Date: Fri, 23 Oct 2020 10:27:22 -0700
On Oct 23, 2020, at 8:39 AM, Jaap Keuter <jaap.keuter@xxxxxxxxx> 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).