summaryrefslogtreecommitdiff
path: root/devel/pango/patches/patch-CVE-2011-0064-3
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pango/patches/patch-CVE-2011-0064-3')
-rw-r--r--devel/pango/patches/patch-CVE-2011-0064-315
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/pango/patches/patch-CVE-2011-0064-3 b/devel/pango/patches/patch-CVE-2011-0064-3
new file mode 100644
index 00000000000..3afe5203433
--- /dev/null
+++ b/devel/pango/patches/patch-CVE-2011-0064-3
@@ -0,0 +1,15 @@
+$NetBSD: patch-CVE-2011-0064-3,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.h.orig 2010-02-09 12:06:28.000000000 +0000
++++ pango/opentype/hb-buffer.h 2011-03-05 13:30:22.000000000 +0000
+@@ -94,7 +94,7 @@
+ void
+ hb_buffer_clear_positions (hb_buffer_t *buffer);
+
+-void
++hb_bool_t
+ hb_buffer_ensure (hb_buffer_t *buffer,
+ unsigned int size);
+