]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
nl80211: Clear nlmsg payload with keys before freeing
authorJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 23:01:42 +0000 (01:01 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 2 Jan 2015 23:15:34 +0000 (01:15 +0200)
commitbbd89bfca0b446d605c4cc38cedf55eb81d0eed7
tree00bd3d84a016d9f4ef02f2c00c510aa088fc5516
parentf2535da8790df8a44a441a6ca3a9a77b6beb1d78
nl80211: Clear nlmsg payload with keys before freeing

This reduces the time possible keys could remain in heap memory. Couple
of the nl80211 messages include keys (TK for normal ciphers and
KCK/KEK/PMK for various offloading cases).

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c