]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Add explicit check for ssid->p2p_client_list != NULL
authorJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 21:53:13 +0000 (00:53 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 21:53:13 +0000 (00:53 +0300)
commit8931a36ca47eda78bbaa4f69da218a3f1c50ed32
tree5083f445591840a4f0deeee4c8482fe22f73d29a
parentc0e46bb7d4aa2c869ddefa8334ef4bcbbf3ab9eb
P2P: Add explicit check for ssid->p2p_client_list != NULL

This would not really be needed since these functions check the pointer
above. However, this seems to be too difficult for some static analyzer,
so add the extra check to avoid false reports.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/p2p_supplicant.c