Wireshark-commits: [Wireshark-commits] lts-1.12.1 5576ce2: packetbb: Prevent divide by 0.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 11 Aug 2016 16:38:57 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5576ce24c69cf38c890f70696285e84d6e4c2932
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark

Commits:

5576ce2 by Michael Mann (mmann78@xxxxxxxxxxxx):

    packetbb: Prevent divide by 0.
    
    Bug: 12577
    Change-Id: Ibfa605597b786d8dbf1e256ef2ca6dc691498974
    Reviewed-on: https://code.wireshark.org/review/16241
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit 94e97e45cf614c7bb8fe90c23df52910246b2c95)
    Reviewed-on: https://code.wireshark.org/review/16244
    (cherry picked from commit 3ce7de0ce8d32ded8e4c0ebf747886b9b5b1b26f)
    Reviewed-on: https://code.wireshark.org/review/17016
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    

Actions performed:

    from  4718300   dissect_nds_request: Add NULL check
    adds  5576ce2   packetbb: Prevent divide by 0.


Summary of changes:
 epan/dissectors/packet-packetbb.c |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)