mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-18 00:19:56 +00:00
Fix crashing bug caused by very long string being passed to FE_Trace
This commit is contained in:
parent
498a4aa3ef
commit
f797caec45
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user