| 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/05 (7544 days ago) |
| Due | |
| Updated | 11/15/06 (7164 days ago) |
| Assigned | |
| Resolved | 11/1/05 (7543 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.