]> git.ipfire.org Git - thirdparty/hostap.git/commit
WNM: Fix neighbor report subelement parser to not leak memory
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 7 Apr 2014 22:20:24 +0000 (01:20 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 7 Apr 2014 22:20:24 +0000 (01:20 +0300)
commite9cb7b9275951c1b7f70aba2d83fec91f4923f1b
tree34d1d0e5a4d7a82be5daadab0fa31f37c8b14ccc
parent1aa6f953bb7b9093decc5817a2a7eaacf2eae61b
WNM: Fix neighbor report subelement parser to not leak memory

If a subelement is unexpectedly included multiple times, the parser must
not re-allocate memory for the entry without first freeing the old
allocation.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wnm_sta.c