Bug #72914 [Com]: Error parsing EXIF data - IFD data bad offset: 0xFFFFFD32 length 0x1EC2

From: Date: Mon, 22 Aug 2016 06:06:29 +0000
Subject: Bug #72914 [Com]: Error parsing EXIF data - IFD data bad offset: 0xFFFFFD32 length 0x1EC2
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203472@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72914&edit=1

 ID:                 72914
 Comment by:         sunkan+bugs dot gnu at zappa dot cx
 Reported by:        sunkan+bugs dot gnu at zappa dot cx
 Summary:            Error parsing EXIF data - IFD data bad offset:
                     0xFFFFFD32 length 0x1EC2
 Status:             Duplicate
 Type:               Bug
 Package:            EXIF related
 Operating System:   Linux
 PHP Version:        5.6.25
 Block user comment: N
 Private report:     N

 New Comment:

Well bug #72735 is closed and bug #72819 is suspended and assumed to be no issue due to no feedback.

What bug will be worked on if all three are the same bug?
Can my bug be used as feedback on #72819 so work continues there maybe?


Previous Comments:
------------------------------------------------------------------------
[2016-08-22 05:47:32] requinix@php.net

Related To: Bug #72819

------------------------------------------------------------------------
[2016-08-22 05:42:54] requinix@php.net

Duplicate of bug #72819, which itself is likely a duplicate of bug #72735

------------------------------------------------------------------------
[2016-08-21 20:22:02] sunkan+bugs dot gnu at zappa dot cx

Test image file can be downloaded here (resized from original with GIMP, but still fails like the
original file):

https://zappa.cx/~sunkan/IMG_5888_small.JPG

------------------------------------------------------------------------
[2016-08-21 20:16:01] sunkan+bugs dot gnu at zappa dot cx

Description:
------------
Thumbnails from my Canon 100D camera can no longer be extracted from the EXIF data.

The test script will only output an error when using PHP 5.6.24 or 5.6.25:
With PHP 5.6.23 it is working (as it always has been for me) and EXIF data including thumbnail is
being output.


Test script:
---------------
print_r( exif_read_data( "/tmp/IMG_5888_small.JPG", "THUMBNAIL" ) );

Expected result:
----------------
Output EXIF data with no error

Actual result:
--------------
This warning is being output and no EXIF data (if requiring the thumbnail or using another function
to extract the thumbnail):

Warning: exif_read_data(IMG_5888_small.JPG): IFD data bad offset: 0xFFFFFD32 length 0x1EC2 in
/tmp/exif.php on line 2



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



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


Thread (6 messages)

« previous php.bugs (#203472) next »