WPS: Use more defensive design to avoid theoretical NULL deref
authorJouni Malinen <j@w1.fi>
Sat, 4 Sep 2010 18:37:36 +0000 (21:37 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 4 Sep 2010 18:37:36 +0000 (21:37 +0300)
commitcce1f698e58843d67f598b6a7161756d546e5b66
treef3f8bc121c3a7a8fcd19030f9461352048a53a31
parenta745b7a775d449222f17bd338bab4802e05435c0
WPS: Use more defensive design to avoid theoretical NULL deref

Prior to commit 6195adda9b4306cda2b06b930c59c95832d026a9 the sm->user
dereference did not exist here. While this is in practice non-NULL,
better use more defensive construction here to avoid NULL pointer
dereference should this ever change.
src/eap_server/eap_server_wsc.c