Bug #72819 [Csd]: EXIF thumbnails not read anymore

From: Date: Tue, 11 Jul 2017 03:08:54 +0000
Subject: Bug #72819 [Csd]: EXIF thumbnails not read anymore
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-209972@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72819&edit=1 ID: 72819 User updated by: php dot bohwaz at miam dot kd2 dot org Reported by: php dot bohwaz at miam dot kd2 dot org Summary: EXIF thumbnails not read anymore Status: Closed Type: Bug Package: EXIF related Operating System: Debian Linux Jessie PHP Version: 5.6.25 Assigned To: kalle Block user comment: N Private report: N New Comment: Sure, no worries if it's just impossible or too hard. I tried to fix that bug a few months earlier but I didn't have enough knowledge of how EXIF worked to be able to fix it. So thanks :) BTW I compiled and tested your patch and all my files that were failing are now working. So far so good! Previous Comments: ------------------------------------------------------------------------ [2017-07-11 03:01:18] kalle@php.net I will see if I can merge the changes to lower branches, but sadly there are quite a few that all build on each other so I will have to check with the RMs if its possible Thanks for helping to make PHP even greater! ------------------------------------------------------------------------ [2017-07-11 02:41:54] php dot bohwaz at miam dot kd2 dot org Finally, thank you so much :) Could we get that merged in old PHP versions as well? Like PHP 5.6 and 7.0 and 7.1? Thanks :) ------------------------------------------------------------------------ [2017-07-07 10:20:42] kalle@php.net The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. ------------------------------------------------------------------------ [2017-07-07 10:20:22] kalle@php.net Automatic comment on behalf of kalle Revision: http://git.php.net/?p=php-src.git;a=commit;h=e6903d471e45177c248adfb4f1abdfdd5487d7bf Log: * Fixed bug #72819 (EXIF thumbnails not read anymore) * Fixed bug #62523 (php crashes with segfault when exif_read_data called) * Fixed the poor test case for #62523, which was a HTML document ------------------------------------------------------------------------ [2017-05-12 02:37:28] php dot bohwaz at miam dot kd2 dot org Still broken in PHP 5.6.30 :( $ php -v && php -r 'var_dump(strlen(exif_thumbnail("http://www.exiv2.org/include/img_1771.jpg")));' PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies PHP Warning: exif_thumbnail(img_1771.jpg): IFD data bad offset: 0xFFFFFC52 length 0x01C2 in Command line code on line 1 Warning: exif_thumbnail(img_1771.jpg): IFD data bad offset: 0xFFFFFC52 length 0x01C2 in Command line code on line 1 int(0) ------------------------------------------------------------------------ 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=72819 -- Edit this bug report at https://bugs.php.net/bug.php?id=72819&edit=1

« previous php.bugs (#209972) next »