зеркало из https://github.com/mozilla/pjs.git
Fix converter stream part of bug 638236. r=bzbarsky a2.0=blocking
CLOSED TREE
This commit is contained in:
Родитель
30f3c7dfd1
Коммит
8e7530c705
|
@ -254,7 +254,8 @@ nsConverterInputStream::Fill(nsresult * aErrorCode)
|
|||
NS_ASSERTION(srcConsumed <= mByteData->GetLength(),
|
||||
"Whoa. The converter should have returned NS_OK_UDEC_MOREINPUT before this point!");
|
||||
} while (mReplacementChar &&
|
||||
NS_FAILED(*aErrorCode));
|
||||
NS_FAILED(*aErrorCode) &&
|
||||
mUnicharData->GetBufferSize() > mUnicharDataLength);
|
||||
|
||||
mLeftOverBytes = mByteData->GetLength() - srcConsumed;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче