[Tickets #2897] NEW: _getHordeImageOb in images.php does not check if $img is valid before calling $img->loadString

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Oct 31 14:19:43 PST 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2897
-----------------------------------------------------------------------
 Ticket             | 2897
 Created By         | ted at impulse.net
 Summary            | _getHordeImageOb in images.php does not check if $img is valid before calling $img->loadString
 Queue              | IMP
 Version            | 4.0.4
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
+New Attachment     | imp_images_php.diff
-----------------------------------------------------------------------


ted at impulse.net (2005-10-31 14:19) wrote:

imp/lib/MIME/Viewer/images.php does not check the validity of the $img
variable before calling loadString on it.  The patch provided adds this
check.

I had an email that would cause a "Call to a member function on a
non-object" error when imp tried to call a function on the non-existent
$img.




More information about the bugs mailing list