summaryrefslogtreecommitdiff
path: root/devel/pango/patches/patch-CVE-2011-0064-1
blob: 1377a8dc34fa319bd1fdf08b1fe26550abb32e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;