Fix memory corruption on BSS entry reallocation
authorJouni Malinen <j@w1.fi>
Sat, 2 Jan 2010 23:25:43 +0000 (01:25 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 2 Jan 2010 23:25:43 +0000 (01:25 +0200)
commit1c83b67efd5cac9d6f6cb46cfa4ba3caef2c9612
treeee2c2e3261c86e90980ffabfba6d27cf5285644a
parent2f1a90188c922750e4439eef7b0c99327b966b9f
Fix memory corruption on BSS entry reallocation

The wpa_s->bss_id list was being corrupted when the BSS entry needed
to be reallocated due to longer IE data. The entry has to be removed
from all lists before reallocation to avoid this (it was only removed
from the wpa_s->bss list).
wpa_supplicant/bss.c