Wireshark-commits: [Wireshark-commits] master 526a328: NBSS: take into account snaplen when creatin

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 11 Apr 2018 04:29:28 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=526a328d839cebf8d52dfcfdd479f12e83a28d3a
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

526a328 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>
    

Actions performed:

    from  b886193   RPM: Make documentation installation optional.
    adds  526a328   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(-)