xref: /PHP-8.0/ext/exif/tests/bug78222.phpt (revision 0c6d06ec)
1--TEST--
2Bug #78222 (heap-buffer-overflow on exif_scan_thumbnail)
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--FILE--
6<?php
7exif_read_data(__DIR__."/bug78222.jpg", 'THUMBNAIL', FALSE, TRUE);
8?>
9DONE
10--EXPECT--
11DONE
12