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-2.2 c04d590: NBSS: take into account snaplen when cre

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

Commits:

c04d590 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    NBSS: take into account snaplen when creating the TVB subset
    
    Otherwise you can trigger an exception interrupting the packet dissection
    when the snaplen defined is shorter than the payload length
    
    Bug: 14598
    Change-Id: Ibeb6482495ed67c7669574bdcd7c429523318428
    Reviewed-on: https://code.wireshark.org/review/26858
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    (cherry picked from commit 526a328d839cebf8d52dfcfdd479f12e83a28d3a)
    Conflicts:
    	epan/dissectors/packet-nbt.c
    Reviewed-on: https://code.wireshark.org/review/26883
    

Actions performed:

    from  a797085   ieee80211: fixes min and max power values in item text (they are signed).
    adds  c04d590   NBSS: take into account snaplen when creating the TVB subset


Summary of changes:
 epan/dissectors/packet-nbt.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)