xref: /PHP-5.6/ext/exif/tests/bug73737.phpt (revision 1cda0d7c)
1--TEST--
2Bug #73737 (Crash when parsing a tag format)
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--FILE--
6<?php
7	$exif = exif_thumbnail(__DIR__ . '/bug73737.tiff');
8	var_dump($exif);
9?>
10--EXPECTF--
11Warning: exif_thumbnail(bug73737.tiff): Error in TIFF: filesize(x0030) less than start of IFD dir(x10102) in %s line %d
12bool(false)
13