mirror of
https://github.com/php/php-src.git
synced 2026-04-30 03:33:17 +02:00
bd9f4fa676
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
15 lines
418 B
PHP
15 lines
418 B
PHP
--TEST--
|
|
Bug #73737 (Crash when parsing a tag format)
|
|
--EXTENSIONS--
|
|
exif
|
|
--FILE--
|
|
<?php
|
|
$exif = exif_thumbnail(__DIR__ . '/bug73737.tiff');
|
|
var_dump($exif);
|
|
?>
|
|
--EXPECTF--
|
|
Warning: exif_thumbnail(bug73737.tiff): Process tag(x0100=ImageWidth): Cannot be empty in %s on line %d
|
|
|
|
Warning: exif_thumbnail(bug73737.tiff): Error in TIFF: filesize(x0030) less than start of IFD dir(x10102) in %s line %d
|
|
bool(false)
|