xref: /PHP-5.5/ext/exif/tests/bug72603.phpt (revision eebcbd5d)
1--TEST--
2Bug #72603 (Out of bound read in exif_process_IFD_in_MAKERNOTE)
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--FILE--
6<?php
7var_dump(count(exif_read_data(dirname(__FILE__) . "/bug72603.jpeg")));
8?>
9--EXPECTF--
10Warning: exif_read_data(bug72603.jpeg): IFD data bad offset: 0x058C length 0x001C in %s/bug72603.php on line %d
11int(13)