Wireshark-commits: [Wireshark-commits] lts-1.12.1 dd47a52: SPOOLSS: Try to avoid an infinite loop.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 24 Jun 2016 01:02:35 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dd47a5217abcaf6d9085a44e9c1dd8821baf565f
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark

Commits:

dd47a52 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    SPOOLSS: Try to avoid an infinite loop.
    
    Use tvb_reported_length_remaining in dissect_spoolss_uint16uni. Make
    sure our offset always increments in dissect_spoolss_keybuffer.
    
    Conflicts:
    	epan/dissectors/packet-dcerpc-spoolss.c
    
    Change-Id: I7017c9685bb2fa27161d80a03b8fca4ef630e793
    Reviewed-on: https://code.wireshark.org/review/14687
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit b4d16b4495b732888e12baf5b8a7e9bf2665e22b)
    Reviewed-on: https://code.wireshark.org/review/15248
    (cherry picked from commit 9753ea8db4ea2caeb3365e842e904cbe5681b79e)
    Reviewed-on: https://code.wireshark.org/review/15249
    (cherry picked from commit 80006b0eb062a45479d109796df14c13ca7c5785)
    Reviewed-on: https://code.wireshark.org/review/16119
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    

Actions performed:

    from  024bf5d   UMTS_FP: fix handling reserved C/T value
    adds  dd47a52   SPOOLSS: Try to avoid an infinite loop.


Summary of changes:
 epan/dissectors/packet-dcerpc-spoolss.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)