[PATCH 2/2] D-Bus: share 'remove all networks' with CLI

Jouni Malinen j at w1.fi
Sat Oct 10 14:50:00 EDT 2020


On Wed, Aug 19, 2020 at 07:09:35PM -0700, Brian Norris wrote:
> The D-Bus implementation of RemoveAllNetworks differs wildly from the
> CLI implementation. Let's share the implementations.
> 
> This resolves use-after-free bugs I noticed, where we continue to use
> the 'wpa_s->current_ssid' wpa_ssid object after freeing it, because we
> didn't bother to disconnect from (and set to NULL) current_ssid before
> freeing it.

Thanks, both patches applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list