]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - build-utilities/hostap.git/commit
Fix WPA authenticator configuration to not leave uninitialized fields
authorJouni Malinen <jouni@qca.qualcomm.com>
Fri, 28 Oct 2011 09:03:45 +0000 (12:03 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 28 Oct 2011 09:13:56 +0000 (12:13 +0300)
commitd28b43f66f91c28c9fdefdfc17f006a418462bc4
tree7586adb3eae52f6642f33e0c7c83972984b1082a
parent08f6ab76a569db0fa189a81951927b7e96627d3c
Fix WPA authenticator configuration to not leave uninitialized fields

hostapd_wpa_auth_conf() is called on uninitialized memory and the
conditional blocks in this function may leave some fields into
uninitialized state. This can result in unexpected behavior elsewhere
since some of the variables may be used without matching #ifdef
blocks. Fix this by zeroing the memory.
src/ap/wpa_auth_glue.c