xref: /PHP-7.2/ext/gd/tests/bug70976.phpt (revision f1d7e3ca)
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--EXPECTF--
13resource(5) of type (gd)
14