mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
a375d54785
Cf. PR #6787. Closes GH-6994.
13 lines
208 B
PHP
13 lines
208 B
PHP
--TEST--
|
|
#72337 segfault in imagescale with new dimensions being <=0)
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
$im = imagecreatetruecolor(1, 1);
|
|
imagescale($im, 0, 0, IMG_BICUBIC_FIXED);
|
|
echo "OK";
|
|
?>
|
|
--EXPECT--
|
|
OK
|