#29527 [NEW]: Exif Function Crashes Apache
| From: | chris_phpbug at thepalls dot com | Date: | Thu, 05 Aug 2004 04:07:56 +0000 |
| Subject: | #29527 [NEW]: Exif Function Crashes Apache | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-64105@lists.php.net to get a copy of this message | ||
From: chris_phpbug at thepalls dot com
Operating system: WinXP Sp1
PHP version: 5.0.0
PHP Bug Type: *Graphics related
Bug description: Exif Function Crashes Apache
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 bug report at http://bugs.php.net/?id=29527&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29527&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=29527&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=29527&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29527&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29527&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29527&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29527&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29527&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29527&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29527&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29527&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29527&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29527&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29527&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29527&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29527&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29527&r=float