xref: /PHP-7.0/ext/gd/tests/bug72227.phpt (revision 7a1aac33)
1--TEST--
2Bug #72227: imagescale out-of-bounds read
3--SKIPIF--
4<?php
5	if (!extension_loaded('gd')) die("skip gd extension not available\n");
6?>
7--FILE--
8<?php
9
10$img = imagecreatetruecolor ( 100, 100);
11imagescale($img, 13, 1, IMG_BICUBIC);
12?>
13DONE
14--EXPECT--
15DONE