Wireshark-commits: [Wireshark-commits] master-2.2 a35bcd1: CDP: Don't read outside payload for Port
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Aug 2016 21:23:01 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a35bcd181a1ef07f40951f1f65a6d3c516985592
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

a35bcd1 by Uli Heilmeier (uh@xxxxxxxxxxxx):

    CDP: Don't read outside payload for Port ID
    
    Check if tvb remaining length is greater than expected length.
    
    Bug: 12767
    Change-Id: Ia04b559432af417db519cfcfbec06e6010b496bf
    Reviewed-on: https://code.wireshark.org/review/17208
    Petri-Dish: Jim Young <jim.young.ws@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    (cherry picked from commit dc42aadcac2636df4c15f8650b668503911e3017)
    Reviewed-on: https://code.wireshark.org/review/17210
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  8ea0e9b   [Automatic update for 2016-08-21]
    adds  a35bcd1   CDP: Don't read outside payload for Port ID


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