Bug #14731: read_exif_data crash reading specific images
| From: | jt-news at thoestesen dot dk | Date: | Fri, 28 Dec 2001 12:26:12 +0000 |
| Subject: | Bug #14731: read_exif_data crash reading specific images | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-75172@lists.php.net to get a copy of this message | ||
From: jt-news@thoestesen.dk
Operating system: FreeBSD 4.4
PHP version: 4.1.0
PHP Bug Type: Reproducible crash
Bug description: read_exif_data crash reading specific images
When calling read_exif_data with a picture taken with a Kodak DC240 it
causes PHP to crash. (This error is probably related to bug #14026)
It seems to be caused to the (mis-)reading of the thumbnail-info from the
exif-tag. After changing the ext/exif.c and removing the cases TAG_JPEGQUAL
and TAG_MACRO at line 760-779, the read_exif_data runs without any problems
- But then (of course) it only read the data about the picture and not the
thumbnail.
To reproduce call read_exif_data with any photo taken with a Kodak DC240
Examplephoto http://thoestesen.dk/DCP_4030.JPG
--
Edit bug report at: http://bugs.php.net/?id=14731&edit=1