|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23102 exif_read_data crash
Submitted: 2003-04-07 17:28 UTC Modified: 2005-02-01 22:50 UTC
From: php at mwi dot dk Assigned:
Status: Closed Package: EXIF related
PHP Version: 4.3.2-RC (latest CVS) OS: FreeBSD 4.8
Private report: No CVE-ID: None
 [2003-04-07 17:28 UTC] php at mwi dot dk

I have a problem with the exif_read_data function.

The browser just doesn't load content. Seems like php crashes.

The problem only occurs with some images.

I've uploaded an example:


$sti = '11618.jpg';

    $exif = @exif_read_data ($sti, 0, true, false);
    print $exif['EXIF']['DateTimeOriginal'];


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-07 19:22 UTC]
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at
In case this was a documentation problem, the fix will show up soon at

In case this was a website problem, the change will show
up on the site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Feb 04 18:03:44 2023 UTC