Bug #75424 [NoF]: exif_read_data(image.jpg): corrupt EXIF header: maximum directory nesting

From: Date: Sun, 20 Oct 2019 15:33:00 +0000
Subject: Bug #75424 [NoF]: exif_read_data(image.jpg): corrupt EXIF header: maximum directory nesting
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223354@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75424&edit=1 ID: 75424 Updated by: cmb@php.net Reported by: Heikki dot Vesanto at gmail dot com Summary: exif_read_data(image.jpg): corrupt EXIF header: maximum directory nesting Status: No Feedback Type: Bug Package: EXIF related Operating System: Ubuntu PHP Version: 7.2.0RC4 Assigned To: kalle Block user comment: N Private report: N New Comment: > This issue still exists in PHP 7.3 […] How would you know, if you're running an old version? > PHP 7.3.3 (cli) (built: Mar 9 2019 00:41:46) ( NTS ) Previous Comments: ------------------------------------------------------------------------ [2019-10-20 14:50:16] girgias@php.net Related To: Bug #78701 ------------------------------------------------------------------------ [2019-10-02 07:35:37] christian dot ruhstaller at goldinteractive dot ch This issue still exists in PHP 7.3 and can be reproduced with the linked image: https://maps.gisforthought.com/Photos/12_Adventure_Duck.jpg php --version PHP 7.3.3 (cli) (built: Mar 9 2019 00:41:46) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.3.3, Copyright (c) 1998-2018 Zend Technologies ------------------------------------------------------------------------ [2018-11-29 16:59:26] requinix@php.net @gen: Please create a new bug report, making sure to upload the problematic image somewhere we can get it. ------------------------------------------------------------------------ [2018-11-29 13:12:57] gen dot work at gmail dot com print_r($exif) gives this array: https://gist.github.com/rybakit/a33b6262dfab412678f8a9559cd8ce15#file-exif_read_data-log ------------------------------------------------------------------------ [2018-11-29 13:00:26] gen dot work at gmail dot com Same here. PHP Version: PHP 7.2.12 (cli) (built: Nov 6 2018 10:48:33) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.12, Copyright (c) 1999-2018, by Zend Technologies with Xdebug v2.6.1, Copyright (c) 2002-2018, by Derick Rethans Error: $ php -r 'exif_read_data("bad-exif.jpg");' PHP Warning: exif_read_data(lc-bad-exif.jpg): corrupt EXIF header: maximum directory nesting level reached in Command line code on line 1 PHP Stack trace: PHP 1. {main}() Command line code:0 PHP 2. exif_read_data() Command line code:1 Warning: exif_read_data(lc-bad-exif.jpg): corrupt EXIF header: maximum directory nesting level reached in Command line code on line 1 Call Stack: 0.0003 397952 1. {main}() Command line code:0 0.0003 397952 2. exif_read_data() Command line code:1 ------------------------------------------------------------------------ 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=75424 -- Edit this bug report at https://bugs.php.net/bug.php?id=75424&edit=1

« previous php.bugs (#223354) next »