mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
bd1919504b
The test images for #72603 and #72618 are broken, that seems to be the cause of different test output. Seems also to be platform dependent, so it's not reliable to depend on the exact error output.
12 lines
349 B
PHP
12 lines
349 B
PHP
--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)
|