Bug #74956 [NEW]: exif_read_data() causes Illegal IFD size

From: Date: Thu, 20 Jul 2017 11:52:54 +0000
Subject: Bug #74956 [NEW]: exif_read_data() causes Illegal IFD size
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-210148@lists.php.net to get a copy of this message
From: burzum at doomzone dot de Operating system: Ubuntu Linux PHP version: 7.0.21 Package: EXIF related Bug Type: Bug Bug description:exif_read_data() causes Illegal IFD size Description: ------------ This is basically a regression of * https://bugs.php.net/bug.php?id=72914 * https://bugs.php.net/bug.php?id=72819 that happens in 7.0.21 as well. See https://travis-ci.org/burzum/cakephp-imagine-plugin/jobs/255629376 or the excerpt of the log below: $ php --version PHP 7.0.21 (cli) (built: Jul 9 2017 15:30:45) ( ZTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.0.21, Copyright (c) 1999-2017, by Zend Technologies with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans 1.07s$ vendor/bin/phpunit PHPUnit 5.7.19 by Sebastian Bergmann and contributors. .......E................ 24 / 24 (100%) Time: 983 ms, Memory: 29.07MB There was 1 error: 1) Burzum\Imagine\Test\TestCase\Lib\ImagineUtilityTest::testGetImageOrientation exif_read_data(Portrait_6.jpg): Illegal IFD size /home/travis/build/burzum/cakephp-imagine-plugin/src/Lib/ImagineUtility.php:100 /home/travis/build/burzum/cakephp-imagine-plugin/tests/TestCase/Lib/ImagineUtilityTest.php:75 ERRORS! Tests: 24, Assertions: 31, Errors: 1. -- Edit bug report at https://bugs.php.net/bug.php?id=74956&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74956&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74956&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74956&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74956&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74956&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74956&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74956&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74956&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74956&r=support Expected behavior: https://bugs.php.net/fix.php?id=74956&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74956&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74956&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74956&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74956&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74956&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74956&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74956&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74956&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74956&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74956&r=mysqlcfg

« previous php.bugs (#210148) next »