ID: 28451 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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
