eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 81ac94fd01d0e1420ddb25e187f7c4f57e8386fb
parent a3817ba015b2d1e99f2747e127843bf85a105441
Author: James Prestwood <prestwoj@gmail.com>
Date:   Wed, 13 Nov 2019 14:30:32 -0800

hotspot: fix double free between hostpot and knownnetworks

The module framework was changed to call the module exit functions in
the reverse order as the init functions. This uncovered/caused known
networks to try and free the network_info structures after hotspot had
already freed them. Since known networks clean up the network_info's
anyways, we don't actually need hotspot to do any cleanup.

Diffstat:
Msrc/hotspot.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hotspot.c b/src/hotspot.c @@ -524,7 +524,7 @@ static void hotspot_exit(void) { l_dir_watch_destroy(hs20_dir_watch); - l_queue_destroy(hs20_settings, hs20_config_free); + l_queue_destroy(hs20_settings, NULL); hs20_settings = NULL; }