diff --git a/3a1b0f0a72525d847197a8446d9503e44b1f2add.patch b/3a1b0f0a72525d847197a8446d9503e44b1f2add.patch new file mode 100644 index 0000000..2d83497 --- /dev/null +++ b/3a1b0f0a72525d847197a8446d9503e44b1f2add.patch @@ -0,0 +1,23 @@ +From 3a1b0f0a72525d847197a8446d9503e44b1f2add Mon Sep 17 00:00:00 2001 +From: jfkthame +Date: Fri, 29 Sep 2023 13:15:01 +0100 +Subject: [PATCH] Check for closing quote in parse_tag + +Fixes #4414. +--- + src/hb-common.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/hb-common.cc b/src/hb-common.cc +index bd4cd88e34f..0c13c7d171f 100644 +--- a/src/hb-common.cc ++++ b/src/hb-common.cc +@@ -815,7 +815,7 @@ parse_tag (const char **pp, const char *end, hb_tag_t *tag) + } + + const char *p = *pp; +- while (*pp < end && (**pp != ' ' && **pp != '=' && **pp != '[')) ++ while (*pp < end && (**pp != ' ' && **pp != '=' && **pp != '[' && **pp != quote)) + (*pp)++; + + if (p == *pp || *pp - p > 4) diff --git a/harfbuzz.spec b/harfbuzz.spec index e25d84d..60218b8 100644 --- a/harfbuzz.spec +++ b/harfbuzz.spec @@ -1,12 +1,13 @@ Name: harfbuzz Version: 8.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Text shaping library License: MIT-Modern-Variant URL: https://github.com/harfbuzz/harfbuzz/ Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/harfbuzz-%{version}.tar.xz +Patch0: https://github.com/harfbuzz/harfbuzz/commit/3a1b0f0a72525d847197a8446d9503e44b1f2add.patch BuildRequires: cairo-devel BuildRequires: freetype-devel BuildRequires: glib2-devel @@ -92,6 +93,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %{_libdir}/libharfbuzz-icu.so.* %changelog +* Sat Sep 30 2023 Parag Nemade - 8.2.1-2 +- Resolves:rh#2241391 - Fix LibreOffice tests run + * Wed Sep 20 2023 Parag Nemade - 8.2.1-1 - Update to 8.2.1 version (#2239664)