2ac369ed8f
Fork from Alpine to apply Martijn's patch: https://github.com/alpinelinux/aports/pull/9894 "This makes wpa_supplicant run in dbus mode if no config file has been created for it, fixing the networkmanager integration. This config has been used for a long time in postmarketOS and works fine. It also removes the iwd dependency from networkmanager again so wpa_supplicant is used because iwd doesn't support as many chipsets as wpa_supplicant and it doesn't run on older kernels." [ci:skip-build]: already built successfully in CI for x86_64, I've tested that it builds for armhf and aarch64 too.
16 lines
531 B
Diff
16 lines
531 B
Diff
$OpenBSD: patch-src_utils_eloop_c,v 1.5 2015/09/29 11:57:54 dcoppa Exp $
|
|
|
|
don't try to access list members to free them unless already initialised
|
|
|
|
--- a/src/utils/eloop.c.orig Sun Sep 27 21:02:05 2015
|
|
+++ b/src/utils/eloop.c Mon Sep 28 09:35:05 2015
|
|
@@ -1064,6 +1064,9 @@ void eloop_destroy(void)
|
|
struct eloop_timeout *timeout, *prev;
|
|
struct os_reltime now;
|
|
|
|
+ if (eloop.timeout.prev == NULL)
|
|
+ return;
|
|
+
|
|
os_get_reltime(&now);
|
|
dl_list_for_each_safe(timeout, prev, &eloop.timeout,
|
|
struct eloop_timeout, list) {
|