File GraphicsMagick-CVE-2017-11533.patch of Package GraphicsMagick.7893
--- a/coders/uil.c Sun Sep 10 14:39:04 2017 -0500
+++ b/coders/uil.c Sun Sep 10 15:18:27 2017 -0500
@@ -232,6 +232,7 @@
colors=image->colors;
if (transparent)
{
+ i=0;
colors++;
for (y=0; y < (long) image->rows; y++)
{
@@ -266,7 +267,7 @@
GetPathComponent(image->filename,BasePath,basename);
FormatString(buffer,"value\n %.1024s_ct : color_table(\n",basename);
(void) WriteBlobString(image,buffer);
- for (i=0; i < (long) colors; i++)
+ for (i=0; i < (long) image->colors; i++)
{
/*
Define UIL color.