mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
15 lines
261 B
Plaintext
15 lines
261 B
Plaintext
|
--TEST--
|
||
|
Bug #72227: imagescale out-of-bounds read
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
if (!extension_loaded('gd')) die("skip gd extension not available\n");
|
||
|
?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
$img = imagecreatetruecolor ( 100, 100);
|
||
|
imagescale($img, 13, 1, IMG_BICUBIC);
|
||
|
?>
|
||
|
DONE
|
||
|
--EXPECT--
|
||
|
DONE
|