diff options
author | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 20:22:34 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2019-11-10 20:22:34 -0500 |
commit | 4d20783c0aa26ced30b55c3eaaab76f46a01a803 (patch) | |
tree | b5f673be39cce0eab97ca4708741ff19b00c4277 /mailnews/imap/src | |
parent | 81dd1338705ca800b5a41a364f3206a45508cd06 (diff) | |
download | UXP-4d20783c0aa26ced30b55c3eaaab76f46a01a803.tar UXP-4d20783c0aa26ced30b55c3eaaab76f46a01a803.tar.gz UXP-4d20783c0aa26ced30b55c3eaaab76f46a01a803.tar.lz UXP-4d20783c0aa26ced30b55c3eaaab76f46a01a803.tar.xz UXP-4d20783c0aa26ced30b55c3eaaab76f46a01a803.zip |
Bug 1444389 - Fix crash in nsImapProtocol::HandleMessageDownLoadLine().
Tag #1273
Diffstat (limited to 'mailnews/imap/src')
-rw-r--r-- | mailnews/imap/src/nsImapProtocol.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp index 9114a28f2..5e2639a5a 100644 --- a/mailnews/imap/src/nsImapProtocol.cpp +++ b/mailnews/imap/src/nsImapProtocol.cpp @@ -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; |