Wireshark-commits: [Wireshark-commits] master-2.2 afc780e: DICOM: Prevent infinite loop (dissect_dc

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 18 Feb 2018 22:48:57 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=afc780e2c796e971bb7d164103f4f0d10d3c25b5
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

afc780e by Michael Mann (mmann78@xxxxxxxxxxxx):

    DICOM: Prevent infinite loop (dissect_dcm_tag)
    
    uint32 value could wrap around, resulting in infinite loop.
    
    Bug: 14411
    Change-Id: I26c73f74adc65c7a5acf22970a54c93a7f7a2344
    Reviewed-on: https://code.wireshark.org/review/25873
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit b6328eba6a3d33930489709ee1e47140dcc30dfb)
    Reviewed-on: https://code.wireshark.org/review/25877
    

Actions performed:

    from  a742125   LLTD: use wider variables to prevent overflow and infinite loops
    adds  afc780e   DICOM: Prevent infinite loop (dissect_dcm_tag)


Summary of changes:
 epan/dissectors/packet-dcm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)