Wireshark-commits: [Wireshark-commits] master-2.0 12723d7: DHCPv6: Avoid integer overflows.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 23 Jan 2017 19:24:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=12723d7f38dfe3264c024a43bd7599cc66aa430d
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

12723d7 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    DHCPv6: Avoid integer overflows.
    
    Count using ints instead of guint16s.
    
    Make sure dissect_packetcable_ccc_option and
    dissect_packetcable_cccV6_option return positive values while we're
    here.
    
    Bug: 13345
    Change-Id: Ic303ddc266f46ee3144e079731742c85808faf37
    Reviewed-on: https://code.wireshark.org/review/19747
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    (cherry picked from commit 57894f741f7cc98b46c9fdce7eee8256d2a4ae3f)
    Reviewed-on: https://code.wireshark.org/review/19750
    (cherry picked from commit f291d1f0f50a0aeaa0e8d85a8c03d42e4f3e8d32)
    Reviewed-on: https://code.wireshark.org/review/19751
    

Actions performed:

    from  efdff1f   ASTERIX: Avoid an integer overflow.
    adds  12723d7   DHCPv6: Avoid integer overflows.


Summary of changes:
 epan/dissectors/packet-dhcpv6.c |   18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)