[PATCH] wpa_supplicant: Fix crash when terminating all interfaces
Jouni Malinen
j
Mon Dec 23 23:48:13 PST 2013
On Sun, Dec 15, 2013 at 10:50:07AM +0200, Ilan Peer wrote:
> In wpa_supplicant_terminate_proc(), while iterating and
> terminating interfaces, after an interface is terminated
> we can no longer access its memory as it is no longer valid
> and causes a crash.
>
> Fix this by saving the pointer to the next interface before freeing
> the current one to avoid accessing an invalid memory location.
Thanks, applied.
--
Jouni Malinen PGP id EFC895FA
More information about the Hostap
mailing list