]> git.ipfire.org Git - thirdparty/hostap.git/commit
WPS: Deinit before wpas_p2p_disconnect()
authorEduardo Abinader <eduardo.abinader@openbossa.org>
Wed, 14 May 2014 13:08:47 +0000 (09:08 -0400)
committerJouni Malinen <j@w1.fi>
Thu, 15 May 2014 22:03:44 +0000 (01:03 +0300)
commit5516ed32c511aa36b8767fd499585478dc59afd3
treea0a73d265fbe285c109c39b195f2457aeff35976
parentc70c37500bb02ef1fb31390cd60dfedde968517b
WPS: Deinit before wpas_p2p_disconnect()

When there is a pending WPS negotiation for P2P and signal interrupt is
triggered, invalid read occurs in wpas_wps_terminate_pending() if
wpas_p2p_disconnect() removed the interface. Inverting deinit order
solves the issue.

Signed-off-by: Eduardo Abinader <eduardo.abinader@openbossa.org>
wpa_supplicant/wpa_supplicant.c