Wireshark-commits: [Wireshark-commits] master-1.12 55a02a0: Copy PTK key in its dedicated array, an
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 21 Dec 2015 12:27:41 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=55a02a02cce86c1c864a3f78d5a82f02b4974cb3
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

55a02a0 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    Copy PTK key in its dedicated array, and not at the address of the array
    
    While we are at it, put back some debug logs that were removed in g1439eb6 (otherwise msgbuf is no more initialized)
    
    Change-Id: Ie34c4f2e638bc3ee77a0565446de37a15385dc0d
    Reviewed-on: https://code.wireshark.org/review/8389
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    (cherry picked from commit 040641dc598b4d4873171a6700e202f5e8b8c318)
    Reviewed-on: https://code.wireshark.org/review/12788
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  eba5410   Don't initialize a variable that's unused before we later set it.
    adds  55a02a0   Copy PTK key in its dedicated array, and not at the address of the array


Summary of changes:
 epan/crypt/airpdcap.c              |   22 +++++++++++++++++++---
 epan/dissectors/packet-ieee80211.c |    2 +-
 2 files changed, 20 insertions(+), 4 deletions(-)