6ccfd1
--- libwmf-0.2.8.4/src/extra/gd/gd_clip.c.CVE-2009-1364-im-clip-list	2009-04-24 04:06:44.000000000 -0400
6ccfd1
+++ libwmf-0.2.8.4/src/extra/gd/gd_clip.c	2009-04-24 04:08:30.000000000 -0400
6ccfd1
@@ -70,6 +70,7 @@ void gdClipSetAdd(gdImagePtr im,gdClipRe
6ccfd1
 	{	more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle));
6ccfd1
 		if (more == 0) return;
6ccfd1
 		im->clip->max += 8;
6ccfd1
+                im->clip->list = more;
6ccfd1
 	}
6ccfd1
 	im->clip->list[im->clip->count] = (*rect);
6ccfd1
 	im->clip->count++;