Bug 680396 - TB 6.0 crash when sending or saving an e-mail with attached PDF. r=dbienvenu
This commit is contained in:
Родитель
1cf039d6bf
Коммит
2695fd37a4
|
@ -583,7 +583,9 @@ nsMsgAttachmentHandler::PickCharset()
|
|||
NS_ENSURE_SUCCESS(rv, rv);
|
||||
|
||||
detector->Init(obs);
|
||||
while (isMore && NS_SUCCEEDED(lineInputStream->ReadLine(buffer, &isMore)))
|
||||
while (isMore &&
|
||||
NS_SUCCEEDED(lineInputStream->ReadLine(buffer, &isMore)) &&
|
||||
buffer.Length() > 0)
|
||||
{
|
||||
detector->DoIt(buffer.get(), buffer.Length(), &dontFeed);
|
||||
if (dontFeed)
|
||||
|
|
Загрузка…
Ссылка в новой задаче