Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] lts-1.12.1 012daad: Add test_length to ptvcursor_add so it c

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 20 Sep 2015 18:27:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=012daad15734f23b213528e1efc40ceac1d48c78
Submitter: Balint Reczey (balint@xxxxxxxxxxxxxxx)
Changed: branch: lts-1.12.1
Repository: wireshark

Commits:

012daad by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add test_length to ptvcursor_add so it can do some bounds checking.
    
    Change-Id: Id052bbfb42f33861294cd4bcba9c3219b7a6b9ff
    Ping-Bug: 11358
    Reviewed-on: https://code.wireshark.org/review/9755
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 3c38a92f7884ad724367b57ff141fdebd5282300)
    Reviewed-on: https://code.wireshark.org/review/10588
    Reviewed-by: Balint Reczey <balint@xxxxxxxxxxxxxxx>
    

Actions performed:

    from  ce1ac2c   WCCP: Fix up storing and decoding of IP addresses.
    adds  012daad   Add test_length to ptvcursor_add so it can do some bounds checking.


Summary of changes:
 epan/proto.c |   50 ++++++++++++++++++++++++++------------------------
 1 file changed, 26 insertions(+), 24 deletions(-)