]> git.ipfire.org Git - thirdparty/hostap.git/commit
hostapd: Fix interfaces.iface initialization
authorGuy Eilam <guy@wizery.com>
Fri, 15 Apr 2011 15:13:04 +0000 (18:13 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 15 Apr 2011 15:13:04 +0000 (18:13 +0300)
commit5b73735ba07d50583d41fa0f35a75e74ea53354d
tree30ee49af7de877219b4b7edf5103ea756ebf5602
parent849b5dc78b6eeb35d6544819efc4d8d1b31217fb
hostapd: Fix interfaces.iface initialization

Set all the interfaces.iface pointers to NULL after the allocation of
that memory block for cases those pointers are accessed during each of
the interfaces initialization process (hostapd_interface_init()). One
example for such case is during WPS initialization when the code tries
to fetch the uuid from each of the interfaces.

Signed-off-by: Guy Eilam <guy@wizery.com>
hostapd/main.c