summaryrefslogtreecommitdiff
path: root/testing/iptables/iptables-1.4.12-fixresore.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-27 00:02:04 +0000
committerroot <root@rshg054.dnsready.net>2012-07-27 00:02:04 +0000
commit1616f43507a7f8785a479ecf6ce905828a232f02 (patch)
tree2da0cc5a8e57effad5bcd327be1957b187b67f36 /testing/iptables/iptables-1.4.12-fixresore.patch
parentc4c5143448e3be178c254e8f9f1ab24661dc3b20 (diff)
Fri Jul 27 00:02:04 UTC 2012
Diffstat (limited to 'testing/iptables/iptables-1.4.12-fixresore.patch')
-rw-r--r--testing/iptables/iptables-1.4.12-fixresore.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/iptables/iptables-1.4.12-fixresore.patch b/testing/iptables/iptables-1.4.12-fixresore.patch
new file mode 100644
index 000000000..94358f779
--- /dev/null
+++ b/testing/iptables/iptables-1.4.12-fixresore.patch
@@ -0,0 +1,28 @@
+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) {