Fix some minor static buffer overruns detected by Coverity tool, and sync two versions of catttable.h. b=287290 r+sr=brendan

This commit is contained in:
dbaron%dbaron.org 2005-11-02 07:42:30 +00:00
Родитель 88495f54a7
Коммит 9b0ef9cabb
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -196,7 +196,7 @@ void txDecimalCounter::appendNumber(PRInt32 aNumber, nsAString& aDest)
void txAlphaCounter::appendNumber(PRInt32 aNumber, nsAString& aDest)
{
PRUnichar buf[11];
PRUnichar buf[12];
buf[11] = 0;
PRInt32 pos = 11;
while (aNumber > 0) {