254b8215961359b87e6b1b55a9e3625454738d88
[jackhill/guix/guix.git] / gnu / packages / patches / libwmf-CVE-2009-1364.patch
1 Copied from Debian.
2
3 --- libwmf-0.2.8.4.orig/src/extra/gd/gd_clip.c
4 +++ libwmf-0.2.8.4/src/extra/gd/gd_clip.c
5 @@ -70,6 +70,7 @@
6 { more = gdRealloc (im->clip->list,(im->clip->max + 8) * sizeof (gdClipRectangle));
7 if (more == 0) return;
8 im->clip->max += 8;
9 + im->clip->list = more;
10 }
11 im->clip->list[im->clip->count] = (*rect);
12 im->clip->count++;
13