]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix wpa_supplicant global config bool reading/writing
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 25 Feb 2025 20:57:40 +0000 (22:57 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 25 Feb 2025 20:57:40 +0000 (22:57 +0200)
commitd185ab38f06ccf2be23bc79c4cf261b0c7ef32f5
tree639dc84ad491ba204e4d3a6287855f10084563b9
parente0baab3b66750a116d400660b58b31327ad6b761
Fix wpa_supplicant global config bool reading/writing

The generic int parser cannot be used with bool variables since it is
possible for the bool variables to be shorter in size and result in
misaligned read/write. Use a separate set of routines for handling bool
variables to avoid this.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wpa_supplicant/config.c