mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +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
16 lines
363 B
PHP
16 lines
363 B
PHP
--TEST--
|
|
Bug #68113 (Heap corruption in exif_thumbnail())
|
|
--EXTENSIONS--
|
|
exif
|
|
--FILE--
|
|
<?php
|
|
var_dump(exif_thumbnail(__DIR__."/bug68113.jpg"));
|
|
?>
|
|
Done
|
|
--EXPECTF--
|
|
Warning: exif_thumbnail(bug68113.jpg): File structure corrupted in %s%ebug68113.php on line 2
|
|
|
|
Warning: exif_thumbnail(bug68113.jpg): Invalid JPEG file in %s%ebug68113.php on line 2
|
|
bool(false)
|
|
Done
|