Wireshark-commits: [Wireshark-commits] master-2.0 d458420: CDP: Don't read outside payload for Port

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Aug 2016 22:35:25 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d45842002b7aff940a5142af9908aadb404476d7
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

d458420 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/17211
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  d3142b0   [Automatic update for 2016-08-21]
    adds  d458420   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(-)