xref: /PHP-8.2/ext/gd/tests/bug72298.phpt (revision a375d547)
1--TEST--
2Bug #72298: pass2_no_dither out-of-bounds access
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7$img = imagecreatetruecolor (1 , 1);
8imagecolortransparent($img, 0);
9imagetruecolortopalette($img, false, 4);
10?>
11DONE
12--EXPECT--
13DONE
14