From f5fd054b74b84ee5113a32cf2fd325f81cee2216 Mon Sep 17 00:00:00 2001 From: davygrvy Date: Tue, 23 Dec 2003 03:48:01 +0000 Subject: fixed static buffer overflow --- win/nmakehlp.c | 4 ++-- 1 file 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 @@ -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; -- cgit v0.12