Bug 676882: Crash in libmime following bug 674488 libmime passes badly encoded char* into JS land as AUTF8Strings landing r=standard8
This commit is contained in:
Родитель
04d3c9b920
Коммит
86d30e2d46
|
@ -291,7 +291,7 @@ MimeMessage_close_headers (MimeObject *obj)
|
|||
MimeObject *body;
|
||||
|
||||
// Do a proper decoding of the munged subject.
|
||||
if (obj->headers && msg->hdrs && msg->grabSubject) {
|
||||
if (obj->headers && msg->hdrs && msg->grabSubject && obj->headers->munged_subject) {
|
||||
// nsMsgI18NConvertToUnicode wants nsAStrings...
|
||||
nsDependentCString orig(obj->headers->munged_subject);
|
||||
nsAutoString dest;
|
||||
|
|
Загрузка…
Ссылка в новой задаче