xref: /PHP-7.4/ext/exif/tests/bug77831.phpt (revision 887a7b57)
1--TEST--
2Bug #77831 (Heap-buffer-overflow in exif_iif_add_value in EXIF)
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--FILE--
6<?php
7var_dump(exif_read_data(__DIR__."/bug77831.tiff"));
8?>
9DONE
10--EXPECTF--
11%A
12bool(false)
13DONE