]> git.ipfire.org Git - thirdparty/hostap.git/commit
Clear beacon_data before usage
authorJanusz Dziedzic <janusz.dziedzic@tieto.com>
Fri, 22 Nov 2013 20:21:25 +0000 (21:21 +0100)
committerJouni Malinen <j@w1.fi>
Fri, 22 Nov 2013 21:21:43 +0000 (23:21 +0200)
commit80ed037f00d90b14d26c581387d908a945eda04e
treeb0343c7c7cb1d647cf21b0844d9230fce70c6d02
parent982189632fe8ef4a885a82257cd90e0dc26a17ce
Clear beacon_data before usage

struct beacon_data contains a lot of pointers. Make sure it gets cleared
to zero if hostapd_build_beacon_data() gets called from a path that does
not clear the structure first.

Signed-hostap: Janusz Dziedzic <janusz.dziedzic@tieto.com>
src/ap/hostapd.c