xref: /PHP-8.1/ext/exif/tests/bug78793.phpt (revision 4f5ba054)
1--TEST--
2Bug #78793: Use-after-free in exif parsing under memory sanitizer
3--EXTENSIONS--
4exif
5--FILE--
6<?php
7$f = __DIR__ . "/bug77950.tiff";
8for ($i = 0; $i < 10; $i++) {
9    @exif_read_data($f);
10}
11?>
12===DONE===
13--EXPECT--
14===DONE===
15