xref: /PHP-7.4/ext/exif/tests/bug76409.phpt (revision 66badcdc)
1--TEST--
2Bug #76409 (heap use after free in _php_stream_free)
3--SKIPIF--
4<?php
5if (!extension_loaded('exif')) die('skip exif extension not available');
6?>
7--FILE--
8<?php
9exif_read_data('.');
10?>
11===DONE===
12--EXPECTF--
13Warning: exif_read_data(): %s in %s on line %d
14===DONE===
15