aboutsummaryrefslogtreecommitdiffstats
path: root/package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-07-17 12:37:10 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-07-17 12:37:10 +0000
commitcd64d4ce6e9cedb9172e6b8eda39437244bfa2bc (patch)
treecc390a7045c28cad5a3d7cf575313a6f3b7c2424 /package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch
parent5ae8e1bf7bcdeee6f82513ec9b9571a09571a51c (diff)
downloadupstream-cd64d4ce6e9cedb9172e6b8eda39437244bfa2bc.tar.gz
upstream-cd64d4ce6e9cedb9172e6b8eda39437244bfa2bc.tar.bz2
upstream-cd64d4ce6e9cedb9172e6b8eda39437244bfa2bc.zip
make patches against iptables apply again after update to 1.4.4 (#5540)
SVN-Revision: 16878
Diffstat (limited to 'package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch')
-rw-r--r--package/iptables/patches/1.4.3.2/010-xtables-parse-protocol-crash.patch13
1 files changed, 0 insertions, 13 deletions
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 e779aaa9cf..0000000000
--- 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;
- }