Wireshark-commits: [Wireshark-commits] master dc42aad: CDP: Don't read outside payload for Port ID
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 21 Aug 2016 17:45:13 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dc42aadcac2636df4c15f8650b668503911e3017
Submitter: Alexis La Goutte (alexis.lagoutte@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

dc42aad 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>
    

Actions performed:

    from  3509b07   LLC/STP (Cisco): Add Cisco Root Link Query PDU (STP)
    adds  dc42aad   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(-)