Wireshark-commits: [Wireshark-commits] master 040641d: Copy PTK key in its dedicated array, and not
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 10 May 2015 19:48:57 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=040641dc598b4d4873171a6700e202f5e8b8c318
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

040641d 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>
    

Actions performed:

    from  19aaa18   Don't initialize a variable that's unused before we later set it.
    adds  040641d   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(-)