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

Commits:

640846b 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/12669
    

Actions performed:

    from  0880b43   Don't report an error for a non-multiple-of-4 chunk length.
    adds  640846b   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(-)