1--TEST--
2OSS-Fuzz: Memory leak for zero-length MAKERNOTE
3--SKIPIF--
4<?php
5if (!extension_loaded('exif')) {
6    die('skip exif extension not available');
7}
8?>
9--FILE--
10<?php
11
12@exif_read_data(__DIR__ . '/zero_length_makernote_leak.tiff');
13
14?>
15===DONE===
16--EXPECT--
17===DONE===
18