Fix ESS_DISASSOC ctrl_iface command parser
authorJouni Malinen <j@w1.fi>
Sat, 25 May 2013 16:55:32 +0000 (19:55 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 25 May 2013 16:55:32 +0000 (19:55 +0300)
commiteb4737f6df53079ded33825323fb3217bd625f57
treea20d0cd8e3bd73035212436914c133e55c23f156
parentcd7f1b9a1d906adc6c3595c96a8a2b64dfd66ef2
Fix ESS_DISASSOC ctrl_iface command parser

strchr can return NULL and that needs to be checked instead of what the
pointer could be pointing to.

Signed-hostap: Jouni Malinen <j@w1.fi>
hostapd/ctrl_iface.c