Absurd input source global variable in Binc imap caused the indexer to crash when an email message contained attachments which were disguised messages (ie: x-mimehtml), because this would cause a recursive call into Binc with a different data source (ie: string instead of original fd, clobbering the original source
This commit is contained in:
@@ -74,12 +74,14 @@ void MimeHandlerMail::clear()
|
||||
}
|
||||
delete m_stream; m_stream = 0;
|
||||
m_idx = -1;
|
||||
m_startoftext = 0;
|
||||
m_subject.erase();
|
||||
for (vector<MHMailAttach*>::iterator it = m_attachments.begin();
|
||||
it != m_attachments.end(); it++) {
|
||||
delete *it;
|
||||
}
|
||||
m_attachments.clear();
|
||||
m_addProcdHdrs.clear();
|
||||
RecollFilter::clear();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user