]> git.ipfire.org Git - thirdparty/hostap.git/commit
Clear hostapd bss entry to NULL on add-interface-failure
authorJouni Malinen <j@w1.fi>
Fri, 28 Feb 2014 22:15:07 +0000 (00:15 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 28 Feb 2014 22:38:04 +0000 (00:38 +0200)
commitb908c50a819ed9ae443ac6e17a077add9e0f5326
treed76ba5dea104982aa16bd01c35c93b3aa458d936
parent0052ce499a1c57e2fa3db10be6d4b4e921896fa3
Clear hostapd bss entry to NULL on add-interface-failure

It looks like leaving behind the freed pointed at the end of the array
could end up in a crash triggered by double free in some cases.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/hostapd.c