mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00: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
19 lines
565 B
PHP
19 lines
565 B
PHP
--TEST--
|
|
Bug 77563 (Uninitialized read in exif_process_IFD_in_MAKERNOTE)
|
|
--EXTENSIONS--
|
|
exif
|
|
--FILE--
|
|
<?php
|
|
$s = exif_thumbnail(__DIR__."/bug77563.jpg");
|
|
?>
|
|
DONE
|
|
--EXPECTF--
|
|
Warning: exif_thumbnail(bug77563.jpg): IFD data too short: 0x0009 offset 0x0008 in %s%ebug77563.php on line %d
|
|
|
|
Warning: exif_thumbnail(bug77563.jpg): Illegal IFD offset in %s%ebug77563.php on line %d
|
|
|
|
Warning: exif_thumbnail(bug77563.jpg): File structure corrupted in %s%ebug77563.php on line %d
|
|
|
|
Warning: exif_thumbnail(bug77563.jpg): Invalid JPEG file in %s%ebug77563.php on line %d
|
|
DONE
|