From fabc86526200d22e891b74b15613fd33d918d174 Mon Sep 17 00:00:00 2001 From: florian Date: Fri, 17 Jul 2009 12:37:10 +0000 Subject: [package] make patches against iptables apply again after update to 1.4.4 (#5540) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16878 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/1.4.3.2/010-xtables-parse-protocol-crash.patch | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch (limited to 'package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch') diff --git a/package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch b/package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch deleted file mode 100644 index e779aaa9c..000000000 --- a/package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ur iptables-1.4.3.2.orig/xtables.c iptables-1.4.3.2/xtables.c ---- iptables-1.4.3.2.orig/xtables.c 2009-05-03 16:17:53.000000000 +0200 -+++ iptables-1.4.3.2/xtables.c 2009-05-03 16:27:37.000000000 +0200 -@@ -1502,7 +1502,8 @@ - else { - unsigned int i; - for (i = 0; i < ARRAY_SIZE(xtables_chain_protos); ++i) { -- if (strcmp(s, xtables_chain_protos[i].name) == 0) { -+ if ((xtables_chain_protos[i].name != NULL) && -+ (strcmp(s, xtables_chain_protos[i].name) == 0)) { - proto = xtables_chain_protos[i].num; - break; - } -- cgit v1.2.3