xref: /PHP-7.4/ext/exif/tests/bug76164.phpt (revision be2ddc6b)
1--TEST--
2Bug #76164 (exif_read_data zend_mm_heap corrupted)
3--SKIPIF--
4<?php
5if (!extension_loaded('exif')) die('skip exif extension not available');
6?>
7--FILE--
8<?php
9$var1 = 'nonexistentfile';
10$var2 = 2200000000;
11@exif_read_data($var1, $var2); // we're not interested in the warning, here
12$var2 = 1;
13?>
14===DONE===
15--EXPECT--
16===DONE===
17