Wireshark-commits: [Wireshark-commits] master 9f60038: sharkd: fix potential division-by-zero issue

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 27 Jan 2017 02:41:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=9f600384e8c113c43a069d491a7482c402c1ea8d
Submitter: Jakub Zawadzki (darkjames-ws@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

9f60038 by Peter Wu (peter@xxxxxxxxxxxxx):

    sharkd: fix potential division-by-zero issue
    
    The interval parameter is user-supplied and is used as divisor.
    
    Change-Id: I9cbbecb71da3991c1712cb87e93de072cc950224
    Reviewed-on: https://code.wireshark.org/review/19787
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx>
    

Actions performed:

    from  69c29d7   CCID added dwFeatures, bStatus bitmasks and IFSD in class description
    adds  9f60038   sharkd: fix potential division-by-zero issue


Summary of changes:
 sharkd_session.c |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)