xref: /PHP-8.1/ext/gd/tests/bug72227.phpt (revision a375d547)
1--TEST--
2Bug #72227: imagescale out-of-bounds read
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7
8$img = imagecreatetruecolor ( 100, 100);
9imagescale($img, 13, 1, IMG_BICUBIC);
10?>
11DONE
12--EXPECT--
13DONE
14