diff options
author | Steven Barth <cyrus@openwrt.org> | 2014-10-17 06:15:35 +0000 |
---|---|---|
committer | Steven Barth <cyrus@openwrt.org> | 2014-10-17 06:15:35 +0000 |
commit | 99984eaeb3efca73b7ac877161b5fd96ad2711e3 (patch) | |
tree | dbed2f2f0a794fa14771d6eb50b33682a3d56ec5 /package/network/services/hostapd/patches/120-daemonize_fix.patch | |
parent | 4fce5d19511e0c5051f60ce91f9b057760e557af (diff) | |
download | upstream-99984eaeb3efca73b7ac877161b5fd96ad2711e3.tar.gz upstream-99984eaeb3efca73b7ac877161b5fd96ad2711e3.tar.bz2 upstream-99984eaeb3efca73b7ac877161b5fd96ad2711e3.zip |
hostapd: CVE-2014-3686 fixes
Signed-off-by: Steven Barth <steven@midlink.org>
SVN-Revision: 42942
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; } |