fix purify errors - uninitialized memory on poorly formatted CID strings, and FMM on nsString::fputs

r=waterson, scc a=waterson


git-svn-id: svn://10.0.0.236/trunk@71822 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
alecf%netscape.com
2000-06-08 23:34:53 +00:00
parent dcaebe656e
commit f90fa8e9f2
4 changed files with 4 additions and 3 deletions

View File

@@ -2186,7 +2186,7 @@ NS_COM int fputs(const nsString& aString, FILE* out)
if(len>0)
::fwrite(cp, 1, len, out);
if (cp != buf) {
delete[] cp;
Recycle(cp);
}
return (int) len;
}