summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug70976.phpt
blob: cd10a8ffc03d8b59061d7c9189935e379f6cef11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--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) {
}