bug72298.phpt 225 B

12345678910111213
  1. --TEST--
  2. Bug #72298: pass2_no_dither out-of-bounds access
  3. --EXTENSIONS--
  4. gd
  5. --FILE--
  6. <?php
  7. $img = imagecreatetruecolor (1 , 1);
  8. imagecolortransparent($img, 0);
  9. imagetruecolortopalette($img, false, 4);
  10. ?>
  11. DONE
  12. --EXPECT--
  13. DONE