diff options
author | davygrvy <davygrvy> | 2003-12-23 03:52:45 (GMT) |
---|---|---|
committer | davygrvy <davygrvy> | 2003-12-23 03:52:45 (GMT) |
commit | 8a2766860a03f66263b618162736fadf4862d328 (patch) | |
tree | 82e47251b5a96027a5f7e9d41394d3225528b260 /win/nmakehlp.c | |
parent | 57d45ee4f75fb9c600bc58b733d72c7790ca4b4a (diff) | |
download | tk-8a2766860a03f66263b618162736fadf4862d328.zip tk-8a2766860a03f66263b618162736fadf4862d328.tar.gz tk-8a2766860a03f66263b618162736fadf4862d328.tar.bz2 |
fixed static buffer overflow
Diffstat (limited to 'win/nmakehlp.c')
-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 6373b08..54b3adc 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:48:29 davygrvy Exp $ + * RCS: @(#) $Id: nmakehlp.c,v 1.3 2003/12/23 03:52:45 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; |