зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
88495f54a7
Коммит
9b0ef9cabb
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче