Wireshark-commits: [Wireshark-commits] master-2.4 b87aa03: IEEE 802.15.4: always allocate protocol
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 05 Mar 2018 13:08:47 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b87aa0326c5c6e6b27462a750582c2c99a85e9d4
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

b87aa03 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
    

Actions performed:

    from  d22deae   [Automatic update for 2018-03-04]
    adds  b87aa03   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(-)