mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
15 lines
307 B
PHP
15 lines
307 B
PHP
--TEST--
|
|
Bug #70976 (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds)
|
|
--SKIPIF--
|
|
<?php
|
|
if(!extension_loaded('gd')){ die('skip gd extension not available'); }
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$img = imagerotate(imagecreate(10,10),45,0x7ffffff9);
|
|
var_dump($img);
|
|
?>
|
|
--EXPECT--
|
|
object(GdImage)#2 (0) {
|
|
}
|