xref: /PHP-8.2/ext/exif/tests/bug72618.phpt (revision bd9f4fa6)
1--TEST--
2Bug 72618 (NULL Pointer Dereference in exif_process_user_comment)
3--EXTENSIONS--
4exif
5--FILE--
6<?php
7var_dump(count(exif_read_data(__DIR__ . "/bug72618.jpg")));
8?>
9--EXPECTF--
10Warning: exif_read_data(bug72618.jpg): %s in %s%ebug72618.php on line %d
11int(%d)
12