~ruther/guix-local

ref: c57ce31a896f659a2e311c2ee90b9027f4a405bc guix-local/gnu/packages/patches/libwmf-CVE-2009-1364.patch -rw-r--r-- 360 bytes
c57ce31a — Leo Famulari Merge branch 'master' into staging 9 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
Copied from Debian.

--- libwmf-0.2.8.4.orig/src/extra/gd/gd_clip.c
+++ libwmf-0.2.8.4/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++;