SOURCES: gretl-buffer_overflow.patch (NEW) - work around a this-mu...

saq saq at pld-linux.org
Wed Sep 21 14:09:39 CEST 2005


Author: saq                          Date: Wed Sep 21 12:09:39 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- work around a this-much-should-be-enough buffer overflow

---- Files affected:
SOURCES:
   gretl-buffer_overflow.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gretl-buffer_overflow.patch
diff -u /dev/null SOURCES/gretl-buffer_overflow.patch:1.1
--- /dev/null	Wed Sep 21 14:09:39 2005
+++ SOURCES/gretl-buffer_overflow.patch	Wed Sep 21 14:09:34 2005
@@ -0,0 +1,11 @@
+--- gretl-1.2.4/doc/commands/reflow.c.orig	2005-09-21 14:00:13.000000000 +0200
++++ gretl-1.2.4/doc/commands/reflow.c	2005-09-21 14:00:24.000000000 +0200
+@@ -394,7 +394,7 @@
+ 
+ int main (void)
+ { 
+-    char buf[8096]; /* can't handle paragraphs > 8Kb */
++    char buf[80960]; /* can't handle paragraphs > 80Kb */
+     char line[128];
+     int blank = 0;
+ 
================================================================



More information about the pld-cvs-commit mailing list