#28451 [Ver->Csd]: Infinite recursion in ext/exif

From: Date: Sat, 22 Jan 2005 01:18:53 +0000
Subject: #28451 [Ver->Csd]: Infinite recursion in ext/exif
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-72644@lists.php.net to get a copy of this message
ID: 28451 Updated by: sniper@php.net Reported By: rasmus@php.net -Status: Verified +Status: Closed Bug Type: *Graphics related Operating System: * PHP Version: 4CVS, 5CVS (2004-12-12) New Comment: This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. 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

« previous php.bugs (#72644) next »