/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
gd
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/gd/tests/bug72730.phpt
--TEST-- Bug #72730: imagegammacorrect allows arbitrary write access --SKIPIF-- <?php if (!function_exists("imagecreatetruecolor")) die("skip"); ?> --FILE-- <?php require __DIR__ . '/func.inc'; $img = imagecreatetruecolor(1, 1); trycatch_dump( fn() => imagegammacorrect($img, -1, 1337) ); ?> --EXPECT-- !! [ValueError] imagegammacorrect(): Argument #2 ($input_gamma) must be greater than 0
Copyright ©2k19 -
Hexid
|
Tex7ure