Bug #73115 [Asn->Csd]: exif_read_data triggers warning on reading binary strings

From: Date: Sun, 09 Jul 2017 15:50:58 +0000
Subject: Bug #73115 [Asn->Csd]: exif_read_data triggers warning on reading binary strings
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209943@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73115&edit=1 ID: 73115 Updated by: kalle@php.net Reported by: lee dot traynor at skeptic dot de Summary: exif_read_data triggers warning on reading binary strings -Status: Assigned +Status: Closed Type: Bug Package: EXIF related Operating System: Windows 10 PHP Version: 7.0.11 Assigned To: kalle Block user comment: N Private report: N New Comment: That is true, these changes are currently only in the 7.2 branch, I'm not sure if these changes can all be safely ported to 5.6/7.0/7.1 as there have been many changes to the exif extension recently. I will try to investigate further Previous Comments: ------------------------------------------------------------------------ [2017-07-09 15:43:08] lee dot traynor at skeptic dot de Sorry, I am still getting the exact same error message on PHP 7.0.21. ------------------------------------------------------------------------ [2017-07-08 01:33:10] kalle@php.net I can confirm that this bug has been fixed by recent patches to the EXIF extension! I added a test case for this to php-src: http://git.php.net/?p=php-src.git;a=commit;h=469206c84e502e3e349655b802899d5e4d560f72 ------------------------------------------------------------------------ [2017-07-08 01:00:44] kalle@php.net Thank you very much Lee, I do some testings with this one! ------------------------------------------------------------------------ [2017-07-07 15:23:54] lee dot traynor at skeptic dot de Try this image: http://www.skeptic.de/blog/kvi/IMG_0001_D.JPG I get: PHP Warning: exif_read_data(IMG_0001_D.JPG): IFD data bad offset: 0xFFFFFCAC length 0x08C8 ------------------------------------------------------------------------ [2017-07-07 10:32:05] kalle@php.net Hi Could you please provide me with a test image? Thanks ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=73115 -- Edit this bug report at https://bugs.php.net/bug.php?id=73115&edit=1

« previous php.bugs (#209943) next »