#29527 [Fbk]: Exif Function Crashes Apache
| From: | rasmus@php.net | Date: | Thu, 05 Aug 2004 23:14:10 +0000 |
| Subject: | #29527 [Fbk]: Exif Function Crashes Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-64169@lists.php.net to get a copy of this message | ||
ID: 29527
Updated by: rasmus@php.net
Reported By: chris_phpbug at thepalls dot com
Status: Feedback
Bug Type: *Graphics related
Operating System: WinXP Sp1
PHP Version: 5.0.0
Assigned To: helly
New Comment:
Perhaps related to http://bugs.php.net/28451 ?
Previous Comments:
------------------------------------------------------------------------
[2004-08-05 11:23:51] helly@php.net
That image can be read just fine with PHP. Maybe you sent the wrong one
because it does not contain any tags inserted by Windows XP. Check again
and maybe send me a picture directly or your stack trace since even
valgrind doesn't show any problems here.
------------------------------------------------------------------------
[2004-08-05 06:07:55] chris_phpbug at thepalls dot com
Description:
------------
Pretty simple, the EXIF library must not like something about this
image.
Image was fine before I added a comment via Properties in WinXP. There
is a very decent chance that our good buddies at MS screwed something
up. Since there is no file upload here, just download the file from
this location:
http://software.thepalls.com/IMG_1564.jpg
Reproduce code:
---------------
$exif = exif_read_data($filename, 'IFD0');
Expected result:
----------------
Exif data returned to function.
Actual result:
--------------
I could probably generate a stack trace, but I'll bet you can
regenerate it anyway. It's a crash, one of those general
protection/access violation type kabooms! It is not.
p.s., when I tried to duplicate this using local files, php just
crashes whenever using the exif library, but it seems to work just fine
when running under apache (other than this particular image)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29527&edit=1