Wireshark-commits: [Wireshark-commits] master-2.0 75b85f1: Report an error if the IP total length i
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 16 Dec 2015 01:20:38 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=75b85f19c737829a4a620f09ae008f8ba37e65c4
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

75b85f1 by Guy Harris (guy@xxxxxxxxxxxx):

    Report an error if the IP total length is bigger than the containing length.
    
    Change-Id: Ib5990fce89304808a585a99164c0176899acbbb7
    Reviewed-on: https://code.wireshark.org/review/12667
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit a257ede0fa46e5cd9e81313d7a9c9c48294edb9b)
    Reviewed-on: https://code.wireshark.org/review/12668
    

Actions performed:

    from  e22b3ed   Don't report an error for a non-multiple-of-4 chunk length.
    adds  75b85f1   Report an error if the IP total length is bigger than the containing length.


Summary of changes:
 epan/dissectors/packet-ip.c |   26 +++++++++++++++++---------
 1 file changed, 17 insertions(+), 9 deletions(-)