Wireshark-commits: [Wireshark-commits] master 0cce968: GTPv2: validate length of PDN Address Alloca

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 10 Aug 2020 10:31:09 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0cce968634b30145ab9670f4855dd718128578e4
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

0cce968 by Andreas Schultz (andreas.schultz@xxxxxxxxxxxxxx):

    GTPv2: validate length of PDN Address Allocation (PAA) IE
    
    PAA is a variable length IE, but it is not extendable (see Table 8.1-1 in
    3GPP TS 29.274). For a give type the length therefore has to match and
    can not exceed the defined length.
    
    Change-Id: Id65842a7f25018fd3864efd73f74ae583102a681
    Reviewed-on: https://code.wireshark.org/review/37984
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  2364968   Bluetooth: simple HCI ISO Data packet dissector
     add  0cce968   GTPv2: validate length of PDN Address Allocation (PAA) IE


Summary of changes:
 epan/dissectors/packet-gtpv2.c | 27 ++++++++++++++++++++++++++-
 1 file changed, 26 insertions(+), 1 deletion(-)