Reset EAPOL pointer when handling DBus smartcard parameters
authorDavid Smith <david.daniel.smith@gmail.com>
Wed, 11 Nov 2009 15:46:15 +0000 (17:46 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 11 Nov 2009 15:46:15 +0000 (17:46 +0200)
commitd7199342f0633b5ab147dca5b885530fe32ceaeb
tree2ec73fb1dc239b8866c12711ba717ae898a92485
parent355d36a7bf5b14df80e3f73d71b9089008fd517b
Reset EAPOL pointer when handling DBus smartcard parameters

Smartcard parameter update via DBus ended up re-initializing the EAPOL
state machine without updating the pointer inside WPA state machine.
This can trigger a segfault when EAP layer attempts to use the old
reference. Fix this by re-initializing the pointer inside WPA state
machine.
wpa_supplicant/ctrl_iface_dbus_handlers.c