Summary | is_null() check in imp/lib/MIME/Contents.php |
Queue | IMP |
Queue Version | 4.1.4 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | tansy (at) pacific (dot) net (dot) sg |
Created | 08/05/2007 (6621 days ago) |
Due | |
Updated | 08/07/2007 (6619 days ago) |
Assigned | 08/06/2007 (6620 days ago) |
Resolved | 08/07/2007 (6619 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
that $this->_message gets set to null (or never gets set to
not-null).
in IMP_Contents' constructor.
Michael, any opinion?
ever does occur, we need to catch it earlier anyway.
State ⇒ Feedback
Assigned to Michael Slusarz
that $this->_message gets set to null (or never gets set to not-null).
But I'm not strongly opposed to putting the check in. Michael, any
opinion?
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ is_null() check in imp/lib/MIME/Contents.php
Queue ⇒ IMP
State ⇒ Unconfirmed
In function findBody(), is it possible to include a
if(is_null($this->_message)){ return null; }
before the section of code that looks for potential body parts?
We had some malformed spam that result in $this->_message being null,
and thus causing IMP to fail if it proceeds to the next section.
Thanking in advance.