Wireshark-commits: [Wireshark-commits] master-2.2 01cf538: NBAP: fix malformed packet error when ha

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Apr 2017 16:46:46 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=01cf5386e26d3d23cc3e8853301f43c7c016589f
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

01cf538 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    NBAP: fix malformed packet error when having a single byte BindingID
    
    The tvb length must be checked before trying to read 2 bytes
    
    Bug: 13577
    Change-Id: I8ba8320b3a0a96239e52a36bc09bb6b41e65a657
    Reviewed-on: https://code.wireshark.org/review/20991
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit 2861b38153b9d78f6129081bc7dd50e853ca1a0e)
    Reviewed-on: https://code.wireshark.org/review/21001
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  53405cc   WSP: fix addition of x-up-proxy-tod in tree
    adds  01cf538   NBAP: fix malformed packet error when having a single byte BindingID


Summary of changes:
 epan/dissectors/asn1/nbap/nbap.cnf |    8 ++++----
 epan/dissectors/packet-nbap.c      |    6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)