xref: /PHP-8.1/ext/exif/tests/bug73737.phpt (revision bd9f4fa6)
1--TEST--
2Bug #73737 (Crash when parsing a tag format)
3--EXTENSIONS--
4exif
5--FILE--
6<?php
7    $exif = exif_thumbnail(__DIR__ . '/bug73737.tiff');
8    var_dump($exif);
9?>
10--EXPECTF--
11Warning: exif_thumbnail(bug73737.tiff): Process tag(x0100=ImageWidth): Cannot be empty in %s on line %d
12
13Warning: exif_thumbnail(bug73737.tiff): Error in TIFF: filesize(x0030) less than start of IFD dir(x10102) in %s line %d
14bool(false)
15