]> git.ipfire.org Git - thirdparty/hostap.git/commit
Clear PSK explicitly from memory in couple more cases on deinit
authorJouni Malinen <quic_jouni@quicinc.com>
Sat, 26 Feb 2022 11:39:35 +0000 (13:39 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 26 Feb 2022 17:12:11 +0000 (19:12 +0200)
commit738fef2f0b9c4f8505b45b53cb290012ec59fbd2
tree36cd32f0def7f873dedb484257c379baed10d577
parent567b9764fbf743ce398dba3838543001efefbc52
Clear PSK explicitly from memory in couple more cases on deinit

Couple of the WPS/P2P/RADIUS-PSK cases were freeing heap memory
allocations without explicitly clearing the PSK value. Add such clearing
for these to avoid leaving the PSK in memory after it is not needed
anymore.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/ieee802_11_auth.c
src/ap/wps_hostapd.c
wpa_supplicant/p2p_supplicant.c