1
0
mirror of https://github.com/php/php-src.git synced 2026-04-25 17:08:14 +02:00
This commit is contained in:
Stanislav Malyshev
2018-07-16 18:52:01 -07:00
parent a536d6d61b
commit ebd5f56442
+2 -2
View File
@@ -4,7 +4,7 @@ Bug 76557 (heap-buffer-overflow (READ of size 48) while reading exif data)
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
--FILE--
<?php
var_dump(count(exif_read_data(dirname(__FILE__) . "/bug76557.jpg")));
var_dump(exif_read_data(dirname(__FILE__) . "/bug76557.jpg"));
?>
DONE
--EXPECTF--
@@ -75,5 +75,5 @@ Warning: exif_read_data(bug76557.jpg): Process tag(x3030=UndefinedTa): Illegal p
Warning: exif_read_data(bug76557.jpg): File structure corrupted in %sbug76557.php on line %d
Warning: exif_read_data(bug76557.jpg): Invalid JPEG file in %sbug76557.php on line %d
int(1)
bool(false)
DONE