diff options
Diffstat (limited to 'gnu/packages/patches/libwmf-CVE-2009-1364.patch')
-rw-r--r-- | gnu/packages/patches/libwmf-CVE-2009-1364.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/libwmf-CVE-2009-1364.patch b/gnu/packages/patches/libwmf-CVE-2009-1364.patch new file mode 100644 index 0000000000..254b821596 --- /dev/null +++ b/gnu/packages/patches/libwmf-CVE-2009-1364.patch @@ -0,0 +1,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++; + |