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