mirror of
https://github.com/php/php-src.git
synced 2026-04-19 22:11:12 +02:00
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
34 lines
1.7 KiB
PHP
34 lines
1.7 KiB
PHP
--TEST--
|
|
Bug 76557 (heap-buffer-overflow (READ of size 48) while reading exif data)
|
|
--EXTENSIONS--
|
|
exif
|
|
--FILE--
|
|
<?php
|
|
var_dump(exif_read_data(__DIR__ . "/bug76557.jpg"));
|
|
?>
|
|
DONE
|
|
--EXPECTF--
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x010F=Make): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTag): Illegal format code 0x3030, suppose BYTE in %sbug76557.php on line %d
|
|
|
|
Warning: exif_read_data(): Further exif parsing errors have been suppressed in %s on line %d
|
|
bool(false)
|
|
DONE
|