|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38222 exif_data_read
Submitted: 2006-07-26 13:01 UTC Modified: 2006-07-26 17:13 UTC
From: camka at email dot ee Assigned: helly (profile)
Status: Not a bug Package: EXIF related
PHP Version: 5.1.4 OS: *
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: camka at email dot ee
New email:
PHP Version: OS:


 [2006-07-26 13:01 UTC] camka at email dot ee
exif_read_data gives warning on some files

Reproduce code:
exif_data_read($filpath, 'FILE,COMPUTED,IFD0,EXIF', true, false)

Expected result:

Actual result:
Warning: PHPDocument7 line 2 - exif_read_data(orig.php1ECqgp.jpg) [<a href='exif_read_data#error_ifd'>exif_read_data</a>]: Illegal IFD size: x07F6 + 2 + x0000*12 = x07F6 &gt; x07F4


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-26 13:11 UTC]
Assigned to the maintainer.
 [2006-07-26 17:13 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

It means the exif information in the file is broken.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 09 08:05:44 2022 UTC