Summary | _getHordeImageOb in images.php does not check if $img is valid before calling $img->loadString |
Queue | IMP |
Queue Version | 4.0.4 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | |
Requester | ted (at) impulse (dot) net |
Created | 10/31/2005 (7164 days ago) |
Due | |
Updated | 11/15/2006 (6784 days ago) |
Assigned | |
Resolved | 11/01/2005 (7163 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
applied. Was it decided that it wasn't necessary, or do I just need
to wait for the next update?
http://cvs.horde.org/diff.php?r1=1.56&r2=1.57&f=imp%2Flib%2FMIME%2FViewer%2Fimages.php
driver. But we should do a check for error here so this will be
committed.
applied. Was it decided that it wasn't necessary, or do I just need
to wait for the next update?
Thanks,
John
Is it because GD doesn't support TIFF, but the default
/imp/config/mime_drivers.php
contains $mime_drivers['imp']['images']['inline'] = true;
for image/*
Thanks,
Frank
State ⇒ Resolved
driver. But we should do a check for error here so this will be
committed.
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ _getHordeImageOb in images.php does not check if $img is valid before calling $img->loadString
Queue ⇒ IMP
New Attachment: imp_images_php.diff
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.