[Tickets #5601] is_null() check in imp/lib/MIME/Contents.php

bugs at bugs.horde.org bugs at bugs.horde.org
Sun Aug 5 11:24:58 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5601
-----------------------------------------------------------------------
 Ticket             | 5601
 Created By         | tansy at pacific.net.sg
 Summary            | is_null() check in imp/lib/MIME/Contents.php
 Queue              | IMP
 Version            | 4.1.4
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


tansy at pacific.net.sg (2007-08-05 04:24) wrote:

Hi,

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.




More information about the bugs mailing list