]> git.ipfire.org Git - thirdparty/hostap.git/commit
mesh: Check for initialization failures
authorJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:46:09 +0000 (15:46 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 30 Nov 2014 13:53:11 +0000 (15:53 +0200)
commit608b0ff52a9533d067c30cead6ed881bd593e006
tree5b822572d555ffce393199fab510f81955c2ce83
parentfaa907389b1f0ceaa1f3d2948cef1e45d046d92e
mesh: Check for initialization failures

It is possible that these location ended up getting called before mesh
startup operations had been completed and that could result in
dereferencing NULL pointers. Address those error cases by verifying that
the needed parameters are available before using them.

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