hostapd: don't use patches symlinked from wpa_supplicant.
Avoid requiring fixes like e054a3cf3a
,
since these are separate packages which happened to have a source file
in common.
This commit is contained in:
parent
6728a318eb
commit
9fb5c346d2
1 changed files with 16 additions and 1 deletions
|
@ -1 +0,0 @@
|
|||
../../wpa_supplicant/patches/patch-src_utils_eloop_c.diff
|
16
srcpkgs/hostapd/patches/patch-src_utils_eloop_c.diff
Normal file
16
srcpkgs/hostapd/patches/patch-src_utils_eloop_c.diff
Normal file
|
@ -0,0 +1,16 @@
|
|||
$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) {
|
Loading…
Reference in a new issue