Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master-1.8 b8be723: Tighten the NO_MORE_DATA_CHECK macros

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

Commits:

b8be723 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/896
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  44b3284   [Automatic manuf, services and enterprise-numbers update for 2014-03-30]
    adds  b8be723   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(-)