Bug #72819 [Com]: EXIF thumbnails not read anymore
| From: | egonfreeman at gmail dot com | Date: | Mon, 19 Dec 2016 09:21:46 +0000 |
| Subject: | Bug #72819 [Com]: EXIF thumbnails not read anymore | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-206124@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
Comment by: egonfreeman at gmail dot com
Reported by: php dot bohwaz at miam dot kd2 dot org
Summary: EXIF thumbnails not read anymore
Status: Verified
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:
Same issue on Mac OS X 10.9.5 on PHP 5.6.29. I'm sure it's been around for about as long.
PHP installed via MacPorts.
$ php -v && php -r 'var_dump(strlen(exif_thumbnail("http://www.exiv2.org/include/img_1771.jpg")));'
PHP 5.6.29 (cli) (built: Dec 10 2016 15:52:37)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
Warning: exif_thumbnail(img_1771.jpg): IFD data bad offset: 0xFFFFFC52 length 0x01C2 in Command line
code on line 1
int(0)
Previous Comments:
------------------------------------------------------------------------
[2016-11-02 11:21:28] stephan at vierkant dot org
php -v && php -r 'var_dump(strlen(exif_thumbnail("http://www.exiv2.org/include/img_1771.jpg")));'
PHP 5.4.45-0+deb7u5 (cli) (built: Aug 30 2016 20:15:34)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
PHP Warning: exif_thumbnail(img_1771.jpg): IFD data bad offset: 0xFFFFFC52 length 0x01C2 in Command
line code on line 1
int(0)
------------------------------------------------------------------------
[2016-08-26 01:01:41] kalle@php.net
@cmb I have been fairly busy with some personal life things and moving in the past week or so, and
it might continue and with Legion's release coming soon I'm not sure how much time I have,
but in the case I do not something within a week or two, then please see if you can sync 5.6/7.0/7.1
with master
------------------------------------------------------------------------
[2016-08-22 08:01:21] cmb@php.net
Indeed, Kalle's commit[1] is only in master, but there may have
been another commit that fixed the issue. Not sure.
Anyhow, I can confirm that this report and also bug 72914 are not
resolved with PHP 5.6.25. bug 72914 would be resolved with current
master; however, this very issue not.
@kalle Can you please have a look at these issues?
[1] <https://github.com/php/php-src/commit/9c8c3785>
------------------------------------------------------------------------
[2016-08-22 06:06:29] sunkan+bugs dot gnu at zappa dot cx
Related To: Bug #72914
------------------------------------------------------------------------
[2016-08-22 05:47:31] requinix@php.net
Bug #72914 and I can both reproduce in 5.6.25.
@cmb, I see one commit that fixes 72735 and it looks like it's only in master.
https://github.com/php/php-src/commit/9c8c37854efe843e45228597837fc4b6aac59113
But @welting updated NEWS saying it's fixed in 5.6.25, 7.0.10, and 7.1.0beta3?
------------------------------------------------------------------------
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