Wireshark mailing list archives

Re: [Wireshark-commits] rev 52578: /trunk/epan/ /trunk/epan/: proto.c tvbuff.c tvbuff.h


From: Jakub Zawadzki <darkjames-ws () darkjames pl>
Date: Mon, 14 Oct 2013 07:55:18 +0200

On Sun, Oct 13, 2013 at 04:43:28PM -0400, Evan Huus wrote:
On Sun, Oct 13, 2013 at 3:54 AM, Jakub Zawadzki
<darkjames-ws () darkjames pl> wrote:
About tvb_offset_exists() comment, compute_offset() is not returning
exception when offset == tvb->length.

Ah, OK. Should it? When offset == tvb->length I would think that
should be an exception, since no bytes exist at that location.

Don't know, right now it works :}

There is some lengthy comment about it before check_offset_length_no_exception().

I know about some dissectors which calls tvb_find_guint8() with offset == tvb->offset [bug #9034#c5].
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: