Fix crashing bug caused by very long string being passed to FE_Trace

This commit is contained in:
guha 1998-05-22 18:51:38 +00:00
parent 498a4aa3ef
commit f797caec45

View File

@ -141,7 +141,7 @@ outputToStream (XMLFile f, char* s)
return;
}
#ifdef DEBUG
FE_Trace(s);
/* FE_Trace(s); */
#endif
if (f->outputBuffer == NULL) f->outputBuffer = getMem(OUTPUT_BUFFER_SIZE+1);
if ((strlen(s) > OUTPUT_BUFFER_SIZE)) {