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

r=waterson, scc a=waterson
This commit is contained in:
alecf%netscape.com 2005-08-09 00:20:27 +00:00
Родитель 9f1847df93
Коммит 300d918454
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -39,6 +39,7 @@ NS_COM PRBool nsID::Parse(const char *aIDStr)
PRInt32 count = 0;
PRInt32 n1, n2, n3[8];
PRInt32 n0;
::memset(n3, 0, sizeof(n3));
if (NULL != aIDStr) {
count = PR_sscanf(aIDStr,