mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
a375d54785
Cf. PR #6787. Closes GH-6994.
14 lines
225 B
PHP
14 lines
225 B
PHP
--TEST--
|
|
Bug #72298: pass2_no_dither out-of-bounds access
|
|
--EXTENSIONS--
|
|
gd
|
|
--FILE--
|
|
<?php
|
|
$img = imagecreatetruecolor (1 , 1);
|
|
imagecolortransparent($img, 0);
|
|
imagetruecolortopalette($img, false, 4);
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|