Bug #73115 [NEW]: exif_read_data triggers warning on reading binary strings

From: Date: Mon, 19 Sep 2016 15:12:35 +0000
Subject: Bug #73115 [NEW]: exif_read_data triggers warning on reading binary strings
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-204132@lists.php.net to get a copy of this message
From:             lee dot traynor at skeptic dot de
Operating system: Windows 10
PHP version:      7.0.11
Package:          EXIF related
Bug Type:         Bug
Bug description:exif_read_data triggers warning on reading binary strings

Description:
------------
On encountering a binary string in exif data (e.g. makernote)
exif_read_data () terminates reading, returns the exif tags successfully
read and issues a warning about unreadable data. This does not occur in
php <= 5.6.16, where the full set of exif tags is returned without
warning. This bug may be related to Bug #72819 EXIF thumbnails not read
anymore.

Test script:
---------------
exif_read_data ("img_0001.jpg");

Expected result:
----------------
All exif tags returned without error.

Actual result:
--------------
Only exif tags prior to "makernote" (which is a binary string) are
returned and a warning issued.

-- 
Edit bug report at https://bugs.php.net/bug.php?id=73115&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=73115&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=73115&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=73115&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=73115&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=73115&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=73115&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=73115&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=73115&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=73115&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=73115&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=73115&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=73115&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=73115&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73115&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=73115&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=73115&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=73115&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73115&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=73115&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=73115&r=mysqlcfg



Thread (8 messages)

« previous php.bugs (#204132) next »