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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user