freebsd-ports/graphics/libwmf/files/patch-cve-2009-1364
2009-05-16 22:33:17 +00:00

10 lines
303 B
Text

--- src/extra/gd/gd_clip.c
+++ src/extra/gd/gd_clip.c
@@ -70,6 +70,7 @@
{ more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle));
if (more == 0) return;
im->clip->max += 8;
+ im->clip->list = more;
}
im->clip->list[im->clip->count] = (*rect);
im->clip->count++;