IBSS RSN: Explicitly check addr != NULL before passing it to memcmp
authorJouni Malinen <j@w1.fi>
Sun, 10 Jan 2010 19:53:17 +0000 (21:53 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 10 Jan 2010 19:53:17 +0000 (21:53 +0200)
commita416fb47eb61f879b8275691dbbc56b2430faa1a
tree3cc00fbd3d025e7cd866a778e381fd0769ea7b44
parent2e320d8db59b8a37e3d68955ceb001a7c8efd763
IBSS RSN: Explicitly check addr != NULL before passing it to memcmp

idx == 0 should be enough to make sure that the addr is set, but
verify that this is indeed the case to avoid any potential issues if
auth_set_key() gets called incorrectly.
wpa_supplicant/ibss_rsn.c