Wireshark-commits: [Wireshark-commits] master 48de5c5: [SPICE] Prevent really long loop in dissect_

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Feb 2016 14:56:20 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=48de5c5a1b6678451c9e936b957138bac0c82f89
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

48de5c5 by Michael Mann (mmann78@xxxxxxxxxxxx):

    [SPICE] Prevent really long loop in dissect_spice_link_capabilities.
    
    Not all paths will access the tvb to have it throw a bounds error for large loop values.
    
    Bug: 12151
    Change-Id: I74a6d0d8ddece0f95027493a7d408cc54d94d25a
    Reviewed-on: https://code.wireshark.org/review/14051
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  024bf62   Fix typo in PTP / Follow_Up Message / Follow Up information TLV.
    adds  48de5c5   [SPICE] Prevent really long loop in dissect_spice_link_capabilities.


Summary of changes:
 epan/dissectors/packet-spice.c |  110 ++++++++++++++++++----------------------
 1 file changed, 49 insertions(+), 61 deletions(-)