diff --git a/security/wpa_supplicant/Makefile b/security/wpa_supplicant/Makefile index 2eff38e4e6d..43781b5c442 100644 --- a/security/wpa_supplicant/Makefile +++ b/security/wpa_supplicant/Makefile @@ -1,9 +1,9 @@ -# $OpenBSD: Makefile,v 1.8 2013/01/28 11:56:55 sthen Exp $ +# $OpenBSD: Makefile,v 1.9 2013/02/04 10:04:44 sthen Exp $ COMMENT= IEEE 802.1X supplicant DISTNAME= wpa_supplicant-2.0 -REVISION= 0 +REVISION= 1 CATEGORIES= security net HOMEPAGE= http://hostap.epitest.fi/wpa_supplicant/ diff --git a/security/wpa_supplicant/patches/patch-src_utils_eloop_c b/security/wpa_supplicant/patches/patch-src_utils_eloop_c new file mode 100644 index 00000000000..1ad8e699c54 --- /dev/null +++ b/security/wpa_supplicant/patches/patch-src_utils_eloop_c @@ -0,0 +1,16 @@ +$OpenBSD: patch-src_utils_eloop_c,v 1.1 2013/02/04 10:04:44 sthen Exp $ + +don't try to access list members to free them unless already initialised + +--- src/utils/eloop.c.orig Sat Jan 12 15:42:53 2013 ++++ src/utils/eloop.c Sat Feb 2 12:11:26 2013 +@@ -793,6 +793,9 @@ void eloop_destroy(void) + struct eloop_timeout *timeout, *prev; + struct os_time now; + ++ if (eloop.timeout.prev == NULL) ++ return; ++ + os_get_time(&now); + dl_list_for_each_safe(timeout, prev, &eloop.timeout, + struct eloop_timeout, list) {