summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavygrvy <davygrvy@pobox.com>2003-12-23 03:48:01 (GMT)
committerdavygrvy <davygrvy@pobox.com>2003-12-23 03:48:01 (GMT)
commitf5fd054b74b84ee5113a32cf2fd325f81cee2216 (patch)
treef4c89e235945f6822bdce6be3d28b5054c75cfa8
parent9bfd9b94953de267846dbc587289fb6a0d0e1265 (diff)
downloadtcl-f5fd054b74b84ee5113a32cf2fd325f81cee2216.zip
tcl-f5fd054b74b84ee5113a32cf2fd325f81cee2216.tar.gz
tcl-f5fd054b74b84ee5113a32cf2fd325f81cee2216.tar.bz2
fixed static buffer overflow
-rw-r--r--win/nmakehlp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/nmakehlp.c b/win/nmakehlp.c
index 6b0de38..8d3175b 100644
--- a/win/nmakehlp.c
+++ b/win/nmakehlp.c
@@ -9,7 +9,7 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
* ----------------------------------------------------------------------------
- * RCS: @(#) $Id: nmakehlp.c,v 1.2 2003/12/23 02:19:13 davygrvy Exp $
+ * RCS: @(#) $Id: nmakehlp.c,v 1.3 2003/12/23 03:48:01 davygrvy Exp $
* ----------------------------------------------------------------------------
*/
#include <windows.h>
@@ -318,7 +318,7 @@ int
GrepForDefine (const char *file, const char *string)
{
FILE *f;
- char s1[50], s2[50], s3[50];
+ char s1[250], s2[50], s3[50];
int r = 0;
double d1;