mirror of
https://github.com/php/php-src.git
synced 2024-09-24 03:17:26 +00: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 72618 (NULL Pointer Dereference in exif_process_user_comment)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(count(exif_read_data(dirname(__FILE__) . "/bug72618.jpg")));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: exif_read_data(bug72618.jpg): %s in %s%ebug72618.php on line %d
|
|
int(%d)
|