Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix bug #73737 FPE when parsing a tag format
- Loading branch information
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --TEST-- | ||
| Bug #73737 (Crash when parsing a tag format) | ||
| --SKIPIF-- | ||
| <?php if (!extension_loaded('exif')) print 'skip exif extension not available';?> | ||
| --FILE-- | ||
| <?php | ||
| $exif = exif_thumbnail(__DIR__ . '/bug73737.tiff'); | ||
| var_dump($exif); | ||
| ?> | ||
| --EXPECTF-- | ||
| Warning: exif_thumbnail(bug73737.tiff): Error in TIFF: filesize(x0030) less than start of IFD dir(x10102) in %s line %d | ||
| bool(false) |
Binary file not shown.