mirror of
https://github.com/php/php-src.git
synced 2024-11-23 18:04:36 +08:00
a375d54785
Cf. PR #6787. Closes GH-6994.
13 lines
233 B
PHP
13 lines
233 B
PHP
--TEST--
|
|
Bug #70976 (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds)
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
$img = imagerotate(imagecreate(10,10),45,0x7ffffff9);
|
|
var_dump($img);
|
|
?>
|
|
--EXPECT--
|
|
object(GdImage)#2 (0) {
|
|
}
|