xref: /PHP-7.2/ext/exif/tests/bug78256.phpt (revision aeb6d131)
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--EXPECTF--
11DONE