Bug 1444389 - Fix crash in nsImapProtocol::HandleMessageDownLoadLine().

Tag #1273
This commit is contained in:
Matt A. Tobin 2019-11-10 20:22:34 -05:00 committed by Roy Tam
commit 0ef88cc19d

View file

@ -3806,6 +3806,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_PRECONDITION(lineCopy == nullptr || !PL_strcmp(line, lineCopy),
"line and lineCopy must contain the same string");
const char *messageLine = line;