summaryrefslogtreecommitdiff
path: root/ext/gd/tests/bug72298.phpt
blob: a3aa491cbe9782fcac2a620266c4e8de9638506e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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