xref: /php-src/ext/exif/tests/bug78793.phpt (revision f320c356)
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