mirror of
https://github.com/php/php-src.git
synced 2024-09-29 05:46:06 +00:00
15 lines
299 B
PHP
15 lines
299 B
PHP
--TEST--
|
|
Bug #72298: pass2_no_dither out-of-bounds access
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('gd')) die("skip gd extension not available\n");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$img = imagecreatetruecolor (1 , 1);
|
|
imagecolortransparent($img, 0);
|
|
imagetruecolortopalette($img, false, 4);
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|