diff options
author | Steven Barth <steven@midlink.org> | 2014-10-17 06:15:35 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2014-10-17 06:15:35 +0000 |
commit | 65c4baa4a605402915042f02ad23ddad4b6452ca (patch) | |
tree | ecbfa5501e3412ac211641d43ebc716f799e1131 /package/network/services/hostapd/patches/120-daemonize_fix.patch | |
parent | 6323cec8d639426479ec1047b9e0dfb36b9432b1 (diff) | |
download | upstream-65c4baa4a605402915042f02ad23ddad4b6452ca.tar.gz upstream-65c4baa4a605402915042f02ad23ddad4b6452ca.tar.bz2 upstream-65c4baa4a605402915042f02ad23ddad4b6452ca.zip |
hostapd: CVE-2014-3686 fixes
Signed-off-by: Steven Barth <steven@midlink.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42942 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/services/hostapd/patches/120-daemonize_fix.patch')
-rw-r--r-- | package/network/services/hostapd/patches/120-daemonize_fix.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/services/hostapd/patches/120-daemonize_fix.patch b/package/network/services/hostapd/patches/120-daemonize_fix.patch index 20a1eb340b..032e2072a3 100644 --- a/package/network/services/hostapd/patches/120-daemonize_fix.patch +++ b/package/network/services/hostapd/patches/120-daemonize_fix.patch @@ -1,14 +1,14 @@ --- a/src/utils/os_unix.c +++ b/src/utils/os_unix.c -@@ -9,6 +9,7 @@ - #include "includes.h" +@@ -10,6 +10,7 @@ #include <time.h> + #include <sys/wait.h> +#include <fcntl.h> #ifdef ANDROID #include <sys/capability.h> -@@ -154,59 +155,46 @@ int os_gmtime(os_time_t t, struct os_tm +@@ -155,59 +156,46 @@ int os_gmtime(os_time_t t, struct os_tm return 0; } |