Fix alloc validation in wpa_bss_get_bit_rates()
authorJouni Malinen <j@w1.fi>
Sat, 9 Jan 2010 21:56:09 +0000 (23:56 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 9 Jan 2010 21:56:09 +0000 (23:56 +0200)
commit728e776c09d1a9103226da1a4603c3ab34b8bb5f
tree2fd33caf8319c4f55d6fbd311abc975f46046f93
parent9a8d8b3db5023847ce2ab7c8a40d4c28c4e8b21d
Fix alloc validation in wpa_bss_get_bit_rates()

Need to check the value returned by os_malloc(), not the pointer to
this value.
wpa_supplicant/bss.c