mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
15 lines
296 B
Plaintext
15 lines
296 B
Plaintext
|
--TEST--
|
||
|
#72337 segfault in imagescale with new dimensions being <=0)
|
||
|
--SKIPIF--
|
||
|
<?php
|
||
|
if (!function_exists('imagescale')) die("skip gd extension not available\n");
|
||
|
?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
$im = imagecreatetruecolor(1, 1);
|
||
|
imagescale($im, 0, 0, IMG_BICUBIC_FIXED);
|
||
|
echo "OK";
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
OK
|