Wireshark-commits: [Wireshark-commits] lts-1.12.1 d62e7bf: DHCPv6: Avoid integer overflows.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 29 Jan 2017 19:48:19 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d62e7bfa20b37f2a0a46245e045c76f63184f3d4
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark

Commits:

d62e7bf 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
    (cherry picked from commit 12723d7f38dfe3264c024a43bd7599cc66aa430d)
    Reviewed-on: https://code.wireshark.org/review/19845
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    

Actions performed:

    from  e062961   ASTERIX: Avoid an integer overflow.
    adds  d62e7bf   DHCPv6: Avoid integer overflows.


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