#28451 [Opn->Ver]: Infinite recursion in ext/exif
| From: | sniper@php.net | Date: | Sun, 12 Dec 2004 23:54:17 +0000 |
| Subject: | #28451 [Opn->Ver]: Infinite recursion in ext/exif | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-70097@lists.php.net to get a copy of this message | ||
ID: 28451
Updated by: sniper@php.net
Reported By: rasmus@php.net
-Status: Open
+Status: Verified
Bug Type: *Graphics related
-Operating System: All
+Operating System: *
-PHP Version: 4.3.6
+PHP Version: 4CVS, 5CVS (2004-12-12)
Previous Comments:
------------------------------------------------------------------------
[2004-05-20 01:18:02] rasmus@php.net
Description:
------------
This jpg (http://lerdorf.com/file.jpg) causes infinite recursion
leading to a crash.
I'll get to fixing it eventually, but can't right now and don't want it
to go unfixed for too long, so if anybody else is keen...
Reproduce code:
---------------
<?php
$exif=exif_read_data('http://lerdorf.com/file.jpg');
?>
Actual result:
--------------
#1087 0x08090f77 in exif_process_IFD_TAG (ImageInfo=0xbfffcc50,
dir_entry=0x1 <Address 0x1 out of bounds>, offset_base=0x84f4bac
"MM", IFDlength=24989,
displacement=12, section_index=7, ReadNextIFD=1,
tag_table=0x827ccc0)
at /home/rasmus/php43/ext/exif/exif.c:2955
#1088 0x0809152e in exif_process_IFD_in_JPEG (ImageInfo=0xbfffcc50,
dir_start=0x84f4bf0 "",
offset_base=0x84f4bac "MM", IFDlength=24989, displacement=12,
section_index=7)
at /home/rasmus/php43/ext/exif/exif.c:2990
#1089 0x08090f77 in exif_process_IFD_TAG (ImageInfo=0xbfffcc50,
dir_entry=0x1 <Address 0x1 out of bounds>, offset_base=0x84f4bac
"MM", IFDlength=24989,
displacement=12, section_index=7, ReadNextIFD=1,
tag_table=0x827ccc0)
at /home/rasmus/php43/ext/exif/exif.c:2955
#1090 0x0809152e in exif_process_IFD_in_JPEG (ImageInfo=0xbfffcc50,
dir_start=0x84f4bf0 "",
offset_base=0x84f4bac "MM", IFDlength=24989, displacement=12,
section_index=7)
at /home/rasmus/php43/ext/exif/exif.c:2990
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28451&edit=1