Open
Bug 1741046
Opened 4 years ago
Updated 4 years ago
Debug build: IMAP, syntax error in generic parser
Categories
(MailNews Core :: Networking: IMAP, defect)
MailNews Core
Networking: IMAP
Tracking
(Not tracked)
NEW
People
(Reporter: KaiE, Unassigned)
Details
Running a debug build, I crashed with:
[Parent 18111, IMAP] ###!!! ASSERTION: syntax error in generic parser: '!error', file /home/user/moz/comm-esr91/mozilla/comm/mailnews/imap/src/nsImapGenericParser.cpp:47
void nsImapGenericParser::SetSyntaxError(bool error, const char* msg) {
if (error)
fParserState |= stateSyntaxErrorFlag;
else
fParserState &= ~stateSyntaxErrorFlag;
NS_ASSERTION(!error, "syntax error in generic parser");
}
(Note this won't crash in optimized builds)
Comment 1•4 years ago
|
||
Reproducible?
Anyway, should probably just be a warning. No reason to have an assertion just because the server sent something invalid.
You need to log in
before you can comment on or make changes to this bug.
Description
•