summaryrefslogtreecommitdiffstats
path: root/win/nmakehlp.c
diff options
context:
space:
mode:
authordavygrvy <davygrvy>2003-12-23 03:52:45 (GMT)
committerdavygrvy <davygrvy>2003-12-23 03:52:45 (GMT)
commit8a2766860a03f66263b618162736fadf4862d328 (patch)
tree82e47251b5a96027a5f7e9d41394d3225528b260 /win/nmakehlp.c
parent57d45ee4f75fb9c600bc58b733d72c7790ca4b4a (diff)
downloadtk-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.c4
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;