[xl2tpd/el6] added xl2tpd-bz80693.patch
Paul Wouters
pwouters at fedoraproject.org
Tue Jun 12 18:20:18 UTC 2012
commit a9f2c239b7d5afe17c56cd9e371b27fc688e7575
Author: Paul Wouters <paul at libreswan.org>
Date: Tue Jun 12 14:18:41 2012 -0400
added xl2tpd-bz80693.patch
xl2tpd-bz80693.patch | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
---
diff --git a/xl2tpd-bz80693.patch b/xl2tpd-bz80693.patch
new file mode 100644
index 0000000..e86f8da
--- /dev/null
+++ b/xl2tpd-bz80693.patch
@@ -0,0 +1,22 @@
+diff --git a/file.c b/file.c
+index 289aee6..d710e30 100644
+--- a/file.c
++++ b/file.c
+@@ -1229,7 +1229,7 @@ int parse_config (FILE * f)
+ /* Read in the configuration file handed to us */
+ /* FIXME: I should check for incompatible options */
+ int context = 0;
+- char buf[STRLEN];
++ char buf[1024];
+ char *s, *d, *t;
+ int linenum = 0;
+ int def = 0;
+@@ -1395,7 +1395,7 @@ int parse_config (FILE * f)
+ }
+ if (!(t = strchr (s, '=')))
+ {
+- l2tp_log (LOG_WARNING, "parse_config: line %d: no '=' in data\n",
++ l2tp_log (LOG_WARNING, "parse_config: line %d: line too long or no '=' in data\n",
+ linenum);
+ return -1;
+ }
More information about the scm-commits
mailing list