Wireshark-commits: [Wireshark-commits] master-2.2 14d6f71: IEEE 802.15.4: always allocate protocol

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 05 Mar 2018 13:10:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=14d6f717d8ea27688af48532edb1d29f502ea8f0
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.2
Repository: wireshark

Commits:

14d6f71 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    IEEE 802.15.4: always allocate protocol data if not present
    
    When using 2 passes, L2TP dissector can set a session info for previous
    packets, breaking the assumption that IEEE 802.15.4 dissector will
    always be called on first pass.
    Let's always allocate the protocol data if missing, even if this is not
    the first pass.
    
    Bug: 14468
    Change-Id: I4cb7ea2e54c1b763a48b99c0d64f542552789d18
    Reviewed-on: https://code.wireshark.org/review/26260
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit dd21b8130c6470d2d5076fcc46d5e9c3866f4609)
    Reviewed-on: https://code.wireshark.org/review/26263
    (cherry picked from commit b87aa0326c5c6e6b27462a750582c2c99a85e9d4)
    Reviewed-on: https://code.wireshark.org/review/26265
    

Actions performed:

    from  e34f30f   [Automatic update for 2018-03-04]
    adds  14d6f71   IEEE 802.15.4: always allocate protocol data if not present


Summary of changes:
 epan/dissectors/packet-ieee802154.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)