Wireshark-commits: [Wireshark-commits] master 1d708ce: If the IP length says there no data followin

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 14 Jul 2015 03:48:42 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1d708cef72dc230f58a9ed046a6a27355d98de1c
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

1d708ce by Michael Mann (mmann78@xxxxxxxxxxxx):

    If the IP length says there no data following the IP layer, don't try to dissect the next layer.
    
    Bug: 11354
    Change-Id: I24a6f2b04e138902fb548ca500af35b18f08acdc
    Reviewed-on: https://code.wireshark.org/review/9619
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Petri-Dish: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  2ebe879   Correct eventlog.eventlog_OpenEventLogW.Module dissection by providing lsa_String type in .cnf
    adds  1d708ce   If the IP length says there no data following the IP layer, don't try to dissect the next layer.


Summary of changes:
 epan/dissectors/packet-ip.c |   12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)