summaryrefslogtreecommitdiff
path: root/ext/exif/tests/bug72603.phpt
blob: 71d3943446162e6ed69dd96e2cb00ac40915fb69 (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
Bug #72603 (Out of bound read in exif_process_IFD_in_MAKERNOTE)
--SKIPIF--
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
--FILE--
<?php
var_dump(count(exif_read_data(dirname(__FILE__) . "/bug72603.jpeg")));
?>
--EXPECTF--
Warning: exif_read_data(bug72603.jpeg): %s in %s%ebug72603.php on line %d
int(%d)