xref: /PHP-8.0/ext/gd/tests/bug70976.phpt (revision c5401854)
1--TEST--
2Bug #70976 (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds)
3--SKIPIF--
4<?php
5    if(!extension_loaded('gd')){ die('skip gd extension not available'); }
6?>
7--FILE--
8<?php
9$img = imagerotate(imagecreate(10,10),45,0x7ffffff9);
10var_dump($img);
11?>
12--EXPECT--
13object(GdImage)#2 (0) {
14}
15