1--TEST--
2OSS-Fuzz: Temporary buffer leak in tag reading
3--SKIPIF--
4<?php
5if (!extension_loaded('exif')) {
6 die('skip exif extension not available');
7}
8?>
9--FILE--
10<?php
11
12var_dump(@exif_read_data(__DIR__ . '/temporary_buffer_leak.jpg'));
13
14?>
15--EXPECT--
16bool(false)
17