зеркало из https://github.com/mozilla/gecko-dev.git
better fix for 35004. thanks John G. Myer's patch. r=ftang
This commit is contained in:
Родитель
bec6b5c5bb
Коммит
a6c5970a07
|
@ -160,6 +160,7 @@ NS_IMETHODIMP nsUTF8ToUnicode::GetMaxLength(const char * aSrc,
|
|||
|
||||
//unexpected octet, put in a replacement char,
|
||||
//flush and refill the buffer, reset state
|
||||
in--;
|
||||
res = NS_ERROR_UNEXPECTED;
|
||||
break;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче