]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Fix resource leak on reading a separate password file
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 22 Jan 2024 20:00:35 +0000 (22:00 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 22 Jan 2024 20:16:46 +0000 (22:16 +0200)
commitc03377cf27d5971fab233bb8eee9f95a65ff9f5b
tree746bbe39d9201e4730a34250d4c3839159df9a43
parent348c047afd7b3735550b9640b6230e9555435427
SAE: Fix resource leak on reading a separate password file

The file needs to be closed on all paths before exiting from the
function.

Fixes: e748e50c629f ("SAE passwords from a separate file")
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
hostapd/config_file.c