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