summaryrefslogtreecommitdiff
path: root/devel/pango/patches/patch-CVE-2011-0064-1
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pango/patches/patch-CVE-2011-0064-1')
-rw-r--r--devel/pango/patches/patch-CVE-2011-0064-114
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/pango/patches/patch-CVE-2011-0064-1 b/devel/pango/patches/patch-CVE-2011-0064-1
new file mode 100644
index 00000000000..1377a8dc34f
--- /dev/null
+++ b/devel/pango/patches/patch-CVE-2011-0064-1
@@ -0,0 +1,14 @@
+$NetBSD: patch-CVE-2011-0064-1,v 1.1.2.2 2011/03/05 19:44:54 spz Exp $
+
+Fix for the DoS vulnerability reported in CVE-2011-0064 taken from openSUSE.
+
+--- pango/opentype/hb-buffer-private.h.orig 2010-02-09 12:06:28.000000000 +0000
++++ pango/opentype/hb-buffer-private.h 2011-03-05 13:30:22.000000000 +0000
+@@ -72,6 +72,7 @@
+ unsigned int allocated;
+
+ hb_bool_t have_output; /* weather we have an output buffer going on */
++ hb_bool_t in_error; /* Allocation failed */
+ unsigned int in_length;
+ unsigned int out_length;
+ unsigned int in_pos;