summaryrefslogtreecommitdiffstats
path: root/abs/core/libwmf/libwmf-0.2.8.4-useafterfree.patch
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-11-15 22:20:17 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-11-15 22:20:17 (GMT)
commit817505c32e62cbc75c3b66b1a2d70bfab850e50f (patch)
tree25dc0f4281ccaa0989e93f4642a6676dfafaa5af /abs/core/libwmf/libwmf-0.2.8.4-useafterfree.patch
parent4f26cfd64aef1c65bca8b155db794ecf0fdc561c (diff)
downloadlinhes_pkgbuild-817505c32e62cbc75c3b66b1a2d70bfab850e50f.zip
linhes_pkgbuild-817505c32e62cbc75c3b66b1a2d70bfab850e50f.tar.gz
linhes_pkgbuild-817505c32e62cbc75c3b66b1a2d70bfab850e50f.tar.bz2
libwmf: upgrade for libx11
Diffstat (limited to 'abs/core/libwmf/libwmf-0.2.8.4-useafterfree.patch')
-rw-r--r--abs/core/libwmf/libwmf-0.2.8.4-useafterfree.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/abs/core/libwmf/libwmf-0.2.8.4-useafterfree.patch b/abs/core/libwmf/libwmf-0.2.8.4-useafterfree.patch
new file mode 100644
index 0000000..328c541
--- /dev/null
+++ b/abs/core/libwmf/libwmf-0.2.8.4-useafterfree.patch
@@ -0,0 +1,10 @@
+--- libwmf-0.2.8.4/src/extra/gd/gd_clip.c.CVE-2009-1364-im-clip-list 2009-04-24 04:06:44.000000000 -0400
++++ libwmf-0.2.8.4/src/extra/gd/gd_clip.c 2009-04-24 04:08:30.000000000 -0400
+@@ -70,6 +70,7 @@ void gdClipSetAdd(gdImagePtr im,gdClipRe
+ { 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++;