mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
clr ptr after freeing state to avoid subsequent null ptr deref
(on vendor branch since this change already exists in Jouni's cvs). Approved by: re (scottl)
This commit is contained in:
parent
1c3c13af99
commit
a593614af4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/wpa_supplicant/dist/; revision=147801
@ -1000,6 +1000,7 @@ void wpa_supplicant_event(struct wpa_supplicant *wpa_s, wpa_event_type event,
|
||||
wpa_s->interface_removed = 1;
|
||||
wpa_supplicant_mark_disassoc(wpa_s);
|
||||
l2_packet_deinit(wpa_s->l2);
|
||||
wpa_s->l2 = NULL;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user