diff options
author | davygrvy <davygrvy@pobox.com> | 2003-12-23 03:48:01 (GMT) |
---|---|---|
committer | davygrvy <davygrvy@pobox.com> | 2003-12-23 03:48:01 (GMT) |
commit | f5fd054b74b84ee5113a32cf2fd325f81cee2216 (patch) | |
tree | f4c89e235945f6822bdce6be3d28b5054c75cfa8 | |
parent | 9bfd9b94953de267846dbc587289fb6a0d0e1265 (diff) | |
download | tcl-f5fd054b74b84ee5113a32cf2fd325f81cee2216.zip tcl-f5fd054b74b84ee5113a32cf2fd325f81cee2216.tar.gz tcl-f5fd054b74b84ee5113a32cf2fd325f81cee2216.tar.bz2 |
fixed static buffer overflow
-rw-r--r-- | win/nmakehlp.c | 4 |
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; |