Bug 1444389 - Fix crash in nsImapProtocol::HandleMessageDownLoadLine(). r=jorgk
This commit is contained in:
Родитель
dfe26e87d9
Коммит
444100e905
|
@ -3838,6 +3838,7 @@ nsImapProtocol::PostLineDownLoadEvent(const char *line, uint32_t uidOfMessage)
|
|||
void nsImapProtocol::HandleMessageDownLoadLine(const char *line, bool isPartialLine,
|
||||
char *lineCopy)
|
||||
{
|
||||
NS_ENSURE_TRUE_VOID(line);
|
||||
NS_ASSERTION(lineCopy == nullptr || !PL_strcmp(line, lineCopy),
|
||||
"line and lineCopy must contain the same string");
|
||||
const char *messageLine = line;
|
||||
|
|
Загрузка…
Ссылка в новой задаче