]> git.ipfire.org Git - thirdparty/hostap.git/commit
P2P: Fix wpa_supplicant crash on P2P WPS PBC overlap case
authorJithu Jance <jithu@broadcom.com>
Mon, 24 Oct 2011 20:37:39 +0000 (23:37 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 24 Oct 2011 20:37:39 +0000 (23:37 +0300)
commit5cbd88d921b15cc5e0bf8d0bb9f60f59fd1ab195
tree4bd83b759ffdf560ae92104f8d524f388abc7577
parentacc247b260817aac89121f46f444be8278085726
P2P: Fix wpa_supplicant crash on P2P WPS PBC overlap case

Once PBC overlap detected when using dynamic group interfaces, the wpa_s
corresponding to P2P group interface is freed. This patch avoids
accessing the wpa_s data structure after it is freed. This fixes a
possible crash in P2P client role in such a case.
wpa_supplicant/events.c
wpa_supplicant/wpa_supplicant_i.h