]> git.ipfire.org Git - thirdparty/hostap.git/commit
Clear config item writing buffer before freeing it
authorJouni Malinen <jouni@codeaurora.org>
Tue, 5 Feb 2019 18:25:21 +0000 (20:25 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Feb 2019 18:26:22 +0000 (20:26 +0200)
commit8f99a3c26ace5789e515944a09beb3081f7fbee2
treec7154b8e17a63f9ab4e3ad55ab5b2b4259cee6fc
parent43e3114c5f5acf5958d2cbac110616412cc9e14f
Clear config item writing buffer before freeing it

This buffer may be used to store items like passwords, so better clean
it explicitly to avoid possibility of leaving such items in heap memory
unnecessarily.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
wpa_supplicant/config_file.c