xref: /PHP-8.2/ext/exif/tests/bug71534.phpt (revision bd9f4fa6)
1--TEST--
2Bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode)
3--EXTENSIONS--
4exif
5--FILE--
6<?php
7// This is kinda bad, I know! But, this generates about 200+ warnings due to its
8// broken TIFF format
9var_dump(@exif_read_data(__DIR__ . DIRECTORY_SEPARATOR . 'bug71534.tiff') === false);
10?>
11--EXPECT--
12bool(true)
13