ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master-1.10 4242566: Tighten the NO_MORE_DATA_CHECK macros

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 31 Mar 2014 21:53:44 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=424256679cde176fb681db2db99739c0ee692a54
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master-1.10
Repository: wireshark

Commits:

4242566 by Evan Huus (eapache@xxxxxxxxx):

    Tighten the NO_MORE_DATA_CHECK macros
    
    We should return if we've already somehow overflowed the apparent length, not
    just if we've hit it dead on.
    
    Fixes bug #9932 and probably others.
    
    Change-Id: I2719c3bd38f03e18ea557df962ee4a1beb64c2e8
    Reviewed-on: https://code.wireshark.org/review/862
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    (cherry picked from commit adc46f571c0357f7600c5cc49c21a8e1403a2af0)
    Reviewed-on: https://code.wireshark.org/review/895
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  79a27e8   [Automatic manuf, services and enterprise-numbers update for 2014-03-30]
    adds  4242566   Tighten the NO_MORE_DATA_CHECK macros


Summary of changes:
 epan/dissectors/packet-ansi_a.c       |    2 +-
 epan/dissectors/packet-gsm_a_common.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)