Wireshark-commits: [Wireshark-commits] master-2.4 2de2545: The maximum offset in an IP option disse

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 14 Jul 2018 21:45:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=2de2545b715622b662a11597cef013dc0f423818
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

2de2545 by Guy Harris (guy@xxxxxxxxxxxx):

    The maximum offset in an IP option dissector is the length of the option.
    
    It's *not* the sum of the length of the option and the length of the
    option header.
    
    Change-Id: I0b5ab0e35ca33dc02a0bc2501e0f0f531ec3f376
    Reviewed-on: https://code.wireshark.org/review/28701
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit 1834cda2ee945c09f3306e001af9d9bac97d6422)
    Reviewed-on: https://code.wireshark.org/review/28703
    

Actions performed:

    from  81ce5fc   CoAP: handle per packet data properly
    adds  2de2545   The maximum offset in an IP option dissector is the length of the option.


Summary of changes:
 epan/dissectors/packet-ip.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)