Wireshark-commits: [Wireshark-commits] master 2861b38: NBAP: fix malformed packet error when having
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Apr 2017 12:59:02 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2861b38153b9d78f6129081bc7dd50e853ca1a0e
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

2861b38 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>
    

Actions performed:

    from  d10421a   WSP: fix addition of x-up-proxy-tod in tree
    adds  2861b38   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(-)