mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
9ed5486439
* gnu/packages/patches/libwmf-CVE-2006-3376.patch, gnu/packages/patches/libwmf-CVE-2009-1364.patch, gnu/packages/patches/libwmf-CVE-2015-0848+4588+4695+4696.patch: New files. * gnu-system.am (dist_patch_DATA): Add them. * gnu/packages/image.scm (libwmf)[source]: Add patches.
13 lines
360 B
Diff
13 lines
360 B
Diff
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++;
|
|
|