Bug #77142 [Com]: exif_read_data

From: Date: Sun, 23 Dec 2018 08:35:58 +0000
Subject: Bug #77142 [Com]: exif_read_data
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-218582@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77142&edit=1

 ID:                 77142
 Comment by:         tedferenc at hotmail dot com
 Reported by:        alerinpoland at gmail dot com
 Summary:            exif_read_data
 Status:             Open
 Type:               Bug
 Package:            EXIF related
 Operating System:   Ubuntu
 PHP Version:        7.2.12
 Block user comment: N
 Private report:     N

 New Comment:

Fails on Linux PHP version 7.2.11 and 7.2.10. On 7.2.10 exif_read_data gives this error
"corrupt EXIF header: maximum directory nesting level reached" on 7.2.11 that error does
not exist but still no GPS data, exiftool does display it camera is Panasonic DMC-TZ70


Previous Comments:
------------------------------------------------------------------------
[2018-11-20 08:39:22] gunnar dot sakariassen at impreso dot no

I have the same problem. Seems that the EXIF array from the image taken with Huawei model RNE-L21
breaks or gets corrupted. No GPS data is present. I can see the location of the image in windows, so
I know it is there. Works with Samsung images on same script. Error: Process tag (x010D =
DocumentNam): Illegal components (0)

------------------------------------------------------------------------
[2018-11-12 18:12:40] alerinpoland at gmail dot com

File:
https://www111.zippyshare.com/v/E3xIm8ju/file.html
View:
https://www.pic2map.com/lfays.html

------------------------------------------------------------------------
[2018-11-12 18:06:58] alerinpoland at gmail dot com

Description:
------------
Hello,
There is a problem with the exif_read_data function with photos from huwaei p20.
GPS location does not work
Warning: exif_read_data (IMG_20181112_151619.jpg): Process tag (x010D = DocumentNam): Illegal
components (0) in /home/www/test.php on line 11

Test script:
---------------
exif_read_data('IMG_20181112_151619.jpg', 'EXIF', true);



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=77142&edit=1


Thread (11 messages)

« previous php.bugs (#218582) next »