2014-09-28 23:57:42 +00:00
|
|
|
--TEST--
|
|
|
|
Bug #68113 (Heap corruption in exif_thumbnail())
|
|
|
|
--SKIPIF--
|
|
|
|
<?php
|
|
|
|
extension_loaded("exif") or die("skip need exif");
|
|
|
|
?>
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
var_dump(exif_thumbnail(__DIR__."/bug68113.jpg"));
|
|
|
|
?>
|
|
|
|
Done
|
|
|
|
--EXPECTF--
|
2014-11-24 15:14:17 +00:00
|
|
|
Warning: exif_thumbnail(bug68113.jpg): File structure corrupted in %s%ebug68113.php on line 2
|
2014-09-28 23:57:42 +00:00
|
|
|
|
2014-11-24 15:14:17 +00:00
|
|
|
Warning: exif_thumbnail(bug68113.jpg): Invalid JPEG file in %s%ebug68113.php on line 2
|
2014-09-28 23:57:42 +00:00
|
|
|
bool(false)
|
2014-11-24 15:14:17 +00:00
|
|
|
Done
|