diff options
author | maya <maya@pkgsrc.org> | 2019-08-01 10:09:38 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2019-08-01 10:09:38 +0000 |
commit | e32be47b43a5f9122023e73d9524ed7c8a06e4ef (patch) | |
tree | ff60d4d6ff9b873ce93c6d285235b1514165ad18 /devel | |
parent | 539aac56c636d92d91414d1044413ac2562577d4 (diff) | |
download | pkgsrc-e32be47b43a5f9122023e73d9524ed7c8a06e4ef.tar.gz |
pango: patch buffer overflow (CVE-2019-1010238)
bump pkgrevision.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/pango/Makefile | 4 | ||||
-rw-r--r-- | devel/pango/distinfo | 3 | ||||
-rw-r--r-- | devel/pango/patches/patch-pango_pango-bidi-type.c | 25 |
3 files changed, 29 insertions, 3 deletions
diff --git a/devel/pango/Makefile b/devel/pango/Makefile index 28f8472c611..240fac5faa3 100644 --- a/devel/pango/Makefile +++ b/devel/pango/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.220 2019/07/11 09:28:44 nia Exp $ +# $NetBSD: Makefile,v 1.221 2019/08/01 10:09:38 maya Exp $ DISTNAME= pango-1.42.4 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= devel fonts MASTER_SITES= ${MASTER_SITE_GNOME:=sources/pango/${PKGVERSION_NOREV:R}/} EXTRACT_SUFX= .tar.xz diff --git a/devel/pango/distinfo b/devel/pango/distinfo index dbe8eb3a5e0..2515fed428d 100644 --- a/devel/pango/distinfo +++ b/devel/pango/distinfo @@ -1,9 +1,10 @@ -$NetBSD: distinfo,v 1.118 2018/11/20 08:34:43 maya Exp $ +$NetBSD: distinfo,v 1.119 2019/08/01 10:09:38 maya Exp $ SHA1 (pango-1.42.4.tar.xz) = 240942b1307eaa3819e6e534596271c57cd75457 RMD160 (pango-1.42.4.tar.xz) = e91880e0e9a459bbc2c280ac747ab31f80352000 SHA512 (pango-1.42.4.tar.xz) = 993e97f647eba0c5ed90bcfcb8228bf67fa3f20b1f4331e4e40a30788d7c3ac55eee1209471bf21df125cb8fc6121acc8062a9da2f8a7d6cbe8e9ad13a9320dc Size (pango-1.42.4.tar.xz) = 833876 bytes +SHA1 (patch-pango_pango-bidi-type.c) = 3e2c657b89d7d7399d731669cf822e3140877ebd SHA1 (patch-pango_pangocairo-coretextfont.c) = cfef0e1372d5770d5988af411d435ee87fdfd0bd SHA1 (patch-pango_pangocairo-coretextfontmap.c) = 395cb1f8472a319c4b1c58ea137e36452bc44cc6 SHA1 (patch-pango_pangocoretext-fontmap.c) = 643dfdb0e9672382d4d5259c90e451a829b9875e diff --git a/devel/pango/patches/patch-pango_pango-bidi-type.c b/devel/pango/patches/patch-pango_pango-bidi-type.c new file mode 100644 index 00000000000..8287f39b7c2 --- /dev/null +++ b/devel/pango/patches/patch-pango_pango-bidi-type.c @@ -0,0 +1,25 @@ +$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)) |