Wireshark-commits: [Wireshark-commits] master-1.12 3c38a92: Add test_length to ptvcursor_add so it

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 23 Jul 2015 15:54:32 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3c38a92f7884ad724367b57ff141fdebd5282300
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

3c38a92 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>
    

Actions performed:

    from  bc792de   Set the (GT) address even if the message is routed by SSN.
    adds  3c38a92   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(-)