summaryrefslogtreecommitdiff
path: root/package/network/services/hostapd/patches/700-make-make-work.patch
diff options
context:
space:
mode:
authorMichal Hrusecky <michal.hrusecky@nic.cz>2016-05-12 14:07:15 +0200
committerFelix Fietkau <nbd@nbd.name>2016-06-15 17:11:18 +0200
commitb67af71181daac3b502fd58d04c021615a23ea39 (patch)
treefeeb71cb63c09cead1e2e03d096838c9ef77ba6d /package/network/services/hostapd/patches/700-make-make-work.patch
parenta3cde627f8acbaaa7bed88ed81577bb23b697fcf (diff)
downloadmtk-20170518-b67af71181daac3b502fd58d04c021615a23ea39.zip
mtk-20170518-b67af71181daac3b502fd58d04c021615a23ea39.tar.gz
mtk-20170518-b67af71181daac3b502fd58d04c021615a23ea39.tar.bz2
hostapd: Update to version 2016-05-05
Fixes CVE-2016-4476 and few possible memory leaks. Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>
Diffstat (limited to 'package/network/services/hostapd/patches/700-make-make-work.patch')
-rw-r--r--package/network/services/hostapd/patches/700-make-make-work.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/network/services/hostapd/patches/700-make-make-work.patch b/package/network/services/hostapd/patches/700-make-make-work.patch
new file mode 100644
index 0000000..643061a
--- /dev/null
+++ b/package/network/services/hostapd/patches/700-make-make-work.patch
@@ -0,0 +1,12 @@
+--- a/hostapd/Makefile
++++ b/hostapd/Makefile
+@@ -196,7 +196,8 @@ endif
+
+ ifdef CONFIG_NO_VLAN
+ CFLAGS += -DCONFIG_NO_VLAN
+-else
++endif
++ifneq ($(findstring CONFIG_NO_VLAN,$(CFLAGS)), CONFIG_NO_VLAN)
+ OBJS += ../src/ap/vlan_init.o
+ OBJS += ../src/ap/vlan_ifconfig.o
+ OBJS += ../src/ap/vlan.o