summaryrefslogtreecommitdiffstats
path: root/patches/source/iptables/iptables.fixrestore.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/iptables/iptables.fixrestore.diff')
-rw-r--r--patches/source/iptables/iptables.fixrestore.diff29
1 files changed, 29 insertions, 0 deletions
diff --git a/patches/source/iptables/iptables.fixrestore.diff b/patches/source/iptables/iptables.fixrestore.diff
new file mode 100644
index 000000000..db50bb1f8
--- /dev/null
+++ b/patches/source/iptables/iptables.fixrestore.diff
@@ -0,0 +1,29 @@
+diff -Nur iptables-1.4.12.2/iptables/ip6tables-restore.c iptables-1.4.12.2-fixrestore/iptables/ip6tables-restore.c
+--- iptables-1.4.12.2/iptables/ip6tables-restore.c 2012-01-03 02:19:09.000000000 +0900
++++ iptables-1.4.12.2-fixrestore/iptables/ip6tables-restore.c 2012-03-01 10:56:10.000000000 +0900
+@@ -380,9 +380,9 @@
+ quote_open = 0;
+ escaped = 0;
+ param_len = 0;
++ char param_buffer[1024];
+
+ for (curchar = parsestart; *curchar; curchar++) {
+- char param_buffer[1024];
+
+ if (quote_open) {
+ if (escaped) {
+diff -Nur iptables-1.4.12.2/iptables/iptables-restore.c iptables-1.4.12.2-fixrestore/iptables/iptables-restore.c
+--- iptables-1.4.12.2/iptables/iptables-restore.c 2012-01-03 02:19:09.000000000 +0900
++++ iptables-1.4.12.2-fixrestore/iptables/iptables-restore.c 2012-03-01 10:56:00.000000000 +0900
+@@ -377,9 +377,9 @@
+ quote_open = 0;
+ escaped = 0;
+ param_len = 0;
++ char param_buffer[1024];
+
+ for (curchar = parsestart; *curchar; curchar++) {
+- char param_buffer[1024];
+
+ if (quote_open) {
+ if (escaped) {
+