php-src/ext/exif/tests/exif_encoding_crash.phpt
Max Semenik bd9f4fa676 Migrate skip checks to --EXTENSIONS--, p2
For rationale, see https://github.com/php/php-src/pull/6787

Make extension checks lowercase, add a special case for opcache
that has internal name not matching .so filename.

Extensions migrated in part 2:
* dom
* exif
* fileinfo
* ffi
2021-04-01 12:08:24 +01:00

12 lines
263 B
PHP

--TEST--
PHP crash when zend_multibyte_encoding_converter returns (size_t)-1)
--EXTENSIONS--
exif
--FILE--
<?php
$infile = __DIR__.'/exif_encoding_crash.jpg';
$exif_data = exif_read_data($infile);
echo "*** no core dump ***\n";
?>
--EXPECT--
*** no core dump ***