#43630 [Opn->Bgs]: exif_read_data crashes on certain images
| From: | helly@php.net | Date: | Thu, 20 Dec 2007 14:53:40 +0000 |
| Subject: | #43630 [Opn->Bgs]: exif_read_data crashes on certain images | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-120776@lists.php.net to get a copy of this message | ||
ID: 43630
Updated by: helly@php.net
Reported By: erin at thedalzells dot org
-Status: Open
+Status: Bogus
Bug Type: EXIF related
Operating System: ALL
PHP Version: 6CVS-2007-12-18 (CVS)
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
This simply tells you that your EXIF information is broken.
Previous Comments:
------------------------------------------------------------------------
[2007-12-18 21:08:17] erin at thedalzells dot org
Description:
------------
I have PHP version 5.2.3 and am getting an error on this image:
http://thedalzells.org/photos/test/IMG_2982.JPG
when I try to read the
EXIF data with exif_read_data.
I have looked at the other bug reports and they all say fixed in head
for version 5.2.1.
Reproduce code:
---------------
$file =
'/home/.jeannie/edalzell/thedalzells.org/photos/test/IMG_2982.JPG';
$data = exif_read_data($file, "EXIF");
Expected result:
----------------
No errors
Actual result:
--------------
Warning: exif_read_data(IMG_2982.JPG) [exif_read_data]: Process
tag(x0000=UndefinedTa): Illegal format code 0x0000, suppose BYTE in
/home/.jeannie/edalzell/thedalzells.org/secret/core/core.functions.php(637)
: eval()'d code on line 22
Warning: exif_read_data(IMG_2982.JPG) [exif_read_data]: Process
tag(x0000=UndefinedTa): Illegal pointer offset(x6E004361 + x43616E6F =
xB161B1D0 > x0207) in
/home/.jeannie/edalzell/thedalzells.org/secret/core/core.functions.php(637)
: eval()'d code on line 22
Warning: exif_read_data(IMG_2982.JPG) [exif_read_data]: Illegal IFD
offset in
/home/.jeannie/edalzell/thedalzells.org/secret/core/core.functions.php(637)
: eval()'d code on line 22
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=43630&edit=1