Wireshark mailing list archives

Re: Some apparent type bugs


From: John Thacker <johnthacker () gmail com>
Date: Fri, 31 Jul 2020 08:38:56 -0400

On Fri, Jul 31, 2020 at 8:13 AM Jaap Keuter <jaap.keuter () xs4all nl> wrote:

Hi,

Don’t know, just noticed the UINT part and thought about returning 'a
value' should be possible.
Will have to look into this more closely to see if and what makes sense.


I created change 38006 <https://code.wireshark.org/review/#/c/38006/> for
these two. Both of them wanted the length in order to increment the offset.
They were
written assuming that it would return just the value in the length field,
not the total length (including the fixed width
of the length field itself).

John
___________________________________________________________________________
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-request () wireshark org?subject=unsubscribe

Current thread: