xref: /php-src/ext/exif/tests/bug68113.phpt (revision bd9f4fa6)
1--TEST--
2Bug #68113 (Heap corruption in exif_thumbnail())
3--EXTENSIONS--
4exif
5--FILE--
6<?php
7var_dump(exif_thumbnail(__DIR__."/bug68113.jpg"));
8?>
9Done
10--EXPECTF--
11Warning: exif_thumbnail(bug68113.jpg): File structure corrupted in %s%ebug68113.php on line 2
12
13Warning: exif_thumbnail(bug68113.jpg): Invalid JPEG file in %s%ebug68113.php on line 2
14bool(false)
15Done
16