Wireshark-commits: [Wireshark-commits] master-1.12 3ce7de0: packetbb: Prevent divide by 0.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 2 Jul 2016 14:55:53 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3ce7de0ce8d32ded8e4c0ebf747886b9b5b1b26f
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

3ce7de0 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
    

Actions performed:

    from  9eacbb4   dissect_nds_request: Add NULL check
    adds  3ce7de0   packetbb: Prevent divide by 0.


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