prevent buffer overflow
[xboard.git] / winboard / jaws.c
index 99f41b1..a9cfd7f 100644 (file)
@@ -162,7 +162,7 @@ PSAYSTRING RealSayString;
 \r
 VOID SayString(char *mess, BOOL flag)\r
 { // for debug file\r
-       char buf[MSG_SIZ], *p;\r
+       char buf[8000], *p;\r
        if(appData.debugMode) fprintf(debugFP, "SAY '%s'\n", mess);\r
        strcpy(buf, mess);\r
        if(p = StrCaseStr(buf, "Xboard adjudication:")) {\r