[pango/f19] Backport a patch to fix a crash in pango_ot_info_get() (#1053798)
by Akira TAGOH
commit 3963413ace9f9e05ca3c8db29119d4456ebd96d7
Author: Akira TAGOH <tagoh(a)redhat.com>
Date: Thu Mar 20 15:34:09 2014 +0900
Backport a patch to fix a crash in pango_ot_info_get() (#1053798)
pango-fix-crash-in-pango_ot_info_get.patch | 27 +++++++++++++++++++++++++++
1 files changed, 27 insertions(+), 0 deletions(-)
---
diff --git a/pango-fix-crash-in-pango_ot_info_get.patch b/pango-fix-crash-in-pango_ot_info_get.patch
new file mode 100644
index 0000000..9d36954
--- /dev/null
+++ b/pango-fix-crash-in-pango_ot_info_get.patch
@@ -0,0 +1,27 @@
+From d65e87def745ad4a61e3b1610ae23bdba07ae6ac Mon Sep 17 00:00:00 2001
+From: Akira TAGOH <akira(a)tagoh.org>
+Date: Wed, 12 Feb 2014 18:39:27 +0900
+Subject: [PATCH] Avoid a crash when FT_Face is null
+
+https://bugzilla.gnome.org/show_bug.cgi?id=724006
+---
+ pango/pango-ot-info.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/pango/pango-ot-info.c b/pango/pango-ot-info.c
+index f6dc1ac..d494d7f 100644
+--- a/pango/pango-ot-info.c
++++ b/pango/pango-ot-info.c
+@@ -88,6 +88,9 @@ pango_ot_info_get (FT_Face face)
+ {
+ PangoOTInfo *info;
+
++ if (G_UNLIKELY (!face))
++ return NULL;
++
+ if (G_LIKELY (face->generic.data && face->generic.finalizer == pango_ot_info_finalizer))
+ return face->generic.data;
+ else
+--
+1.8.4.2
+
10 years, 2 months
[pango] Update to 1.36.3
by Richard Hughes
commit 4cb58cd1f72a2af171af62b623faac88855d7fa2
Author: Richard Hughes <richard(a)hughsie.com>
Date: Tue Mar 18 14:32:53 2014 +0000
Update to 1.36.3
.gitignore | 1 +
pango.spec | 5 ++++-
sources | 2 +-
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index cd364be..86ad851 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,4 @@ pango-1.28.1.tar.bz2
/pango-1.36.0.tar.xz
/pango-1.36.1.tar.xz
/pango-1.36.2.tar.xz
+/pango-1.36.3.tar.xz
diff --git a/pango.spec b/pango.spec
index 91a675f..e8d2064 100644
--- a/pango.spec
+++ b/pango.spec
@@ -9,7 +9,7 @@
Summary: System for layout and rendering of internationalized text
Name: pango
-Version: 1.36.2
+Version: 1.36.3
Release: 1%{?dist}
License: LGPLv2+
Group: System Environment/Libraries
@@ -155,6 +155,9 @@ fi
%changelog
+* Tue Mar 18 2014 Richard Hughes <rhughes(a)redhat.com> - 1.36.3-1
+- Update to 1.36.3
+
* Wed Feb 05 2014 Richard Hughes <rhughes(a)redhat.com> - 1.36.2-1
- Update to 1.36.2
diff --git a/sources b/sources
index 93460f7..64254ed 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-253026c7132c22e52cefd998ba89a742 pango-1.36.2.tar.xz
+d9532826e95bdb374355deebc42441bb pango-1.36.3.tar.xz
10 years, 2 months