pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/pango/patches pango: remove obsolete patch
details: https://anonhg.NetBSD.org/pkgsrc/rev/bef671d63521
branches: trunk
changeset: 399755:bef671d63521
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Aug 16 10:43:53 2019 +0000
description:
pango: remove obsolete patch
diffstat:
devel/pango/patches/patch-pango_pango-bidi-type.c | 25 -----------------------
1 files changed, 0 insertions(+), 25 deletions(-)
diffs (29 lines):
diff -r b2d7cebf7823 -r bef671d63521 devel/pango/patches/patch-pango_pango-bidi-type.c
--- a/devel/pango/patches/patch-pango_pango-bidi-type.c Fri Aug 16 10:43:33 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-$NetBSD: patch-pango_pango-bidi-type.c,v 1.1 2019/08/01 10:09:38 maya Exp $
-
-bidi: Be safer against bad input
-
-Don't run off the end of an array that we
-allocated to certain length.
-
-CVE-2019-1010238
-
---- pango/pango-bidi-type.c.orig 2018-07-28 15:15:28.000000000 +0000
-+++ pango/pango-bidi-type.c
-@@ -179,8 +179,11 @@ pango_log2vis_get_embedding_levels (cons
- for (i = 0, p = text; p < text + length; p = g_utf8_next_char(p), i++)
- {
- gunichar ch = g_utf8_get_char (p);
-- FriBidiCharType char_type;
-- char_type = fribidi_get_bidi_type (ch);
-+ FriBidiCharType char_type = fribidi_get_bidi_type (ch);
-+
-+ if (i == n_chars)
-+ break;
-+
- bidi_types[i] = char_type;
- ored_types |= char_type;
- if (FRIBIDI_IS_STRONG (char_type))
Home |
Main Index |
Thread Index |
Old Index