Wireshark-commits: [Wireshark-commits] master 620647a: SCCP: Use int datatype for offset to prevent
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 12 Feb 2018 06:33:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=620647a3e01d65fef985093cefb9352e21603261
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

620647a by Michael Mann (mmann78@xxxxxxxxxxxx):

    SCCP: Use int datatype for offset to prevent infinite loops
    
    Fields are 16-bit values and large 16-bit values can be incorrectly
    treated as negative, causing infinite loops in offset calculations.
    
    Bug: 14413
    Change-Id: I44334c3e9ced0734f4e1a70720859c0abf4a05c8
    Reviewed-on: https://code.wireshark.org/review/25743
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  5e8391f   RPKI-Router: Sanity check length field to prevent infinite loop
    adds  620647a   SCCP: Use int datatype for offset to prevent infinite loops


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