Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package freetype2 for openSUSE:Factory checked in at 2022-04-19 09:57:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/freetype2 (Old) and /work/SRC/openSUSE:Factory/.freetype2.new.1941 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "freetype2" Tue Apr 19 09:57:56 2022 rev:93 rq:970501 version:2.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/freetype2/freetype2.changes 2022-04-10 19:05:47.806238998 +0200 +++ /work/SRC/openSUSE:Factory/.freetype2.new.1941/freetype2.changes 2022-04-19 09:58:00.391544144 +0200 @@ -1,0 +2,6 @@ +Fri Apr 15 17:07:44 UTC 2022 - Andreas Stieger <andreas.stie...@gmx.de> + +- fix segfault in some applications boo#1198497 + add freetype-2.12.0-cff_slot_load-segfault.patch + +------------------------------------------------------------------- New: ---- freetype-2.12.0-cff_slot_load-segfault.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ freetype2.spec ++++++ --- /var/tmp/diff_new_pack.g6eL85/_old 2022-04-19 09:58:01.291545314 +0200 +++ /var/tmp/diff_new_pack.g6eL85/_new 2022-04-19 09:58:01.295545319 +0200 @@ -37,6 +37,7 @@ Patch2: enable-long-family-names-by-default.patch Patch3: enable-subpixel-rendering.patch Patch4: enable-infinality-subpixel-hinting.patch +Patch5: freetype-2.12.0-cff_slot_load-segfault.patch BuildRequires: gawk BuildRequires: libbz2-devel BuildRequires: libpng-devel ++++++ freetype-2.12.0-cff_slot_load-segfault.patch ++++++ >From 978eefee5401abee6bf702c6bcde9afb47893145 Mon Sep 17 00:00:00 2001 From: Georg Brandl <ge...@python.org> Date: Tue, 12 Apr 2022 11:43:37 +0000 Subject: [PATCH] * src/cff/cffgload.c (cff_slot_load) [FT_CONFIG_OPTION_SVG]: Fix segfault. References: boo#1198497 This can happen if the function is called with `size` being `NULL`. Fixes #1147. --- src/cff/cffgload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cff/cffgload.c b/src/cff/cffgload.c index 5c15c804b..7586b886f 100644 --- a/src/cff/cffgload.c +++ b/src/cff/cffgload.c @@ -370,8 +370,8 @@ SFNT_Service sfnt; - if ( size->root.metrics.x_ppem < 1 || - size->root.metrics.y_ppem < 1 ) + if ( size && (size->root.metrics.x_ppem < 1 || + size->root.metrics.y_ppem < 1 ) ) { error = FT_THROW( Invalid_Size_Handle ); return error; -- 2.35.1