Resolves:rh#2241391 - Fix LibreOffice tests run

This commit is contained in:
Parag Nemade 2023-09-30 06:38:24 +05:30
parent 0bee73bd9d
commit cdf3cdb380
No known key found for this signature in database
GPG Key ID: 71932951EB71E972
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,23 @@
From 3a1b0f0a72525d847197a8446d9503e44b1f2add Mon Sep 17 00:00:00 2001
From: jfkthame <jfkthame@gmail.com>
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)

View File

@ -1,12 +1,13 @@
Name: harfbuzz Name: harfbuzz
Version: 8.2.1 Version: 8.2.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Text shaping library Summary: Text shaping library
License: MIT-Modern-Variant License: MIT-Modern-Variant
URL: https://github.com/harfbuzz/harfbuzz/ URL: https://github.com/harfbuzz/harfbuzz/
Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version}/harfbuzz-%{version}.tar.xz 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: cairo-devel
BuildRequires: freetype-devel BuildRequires: freetype-devel
BuildRequires: glib2-devel BuildRequires: glib2-devel
@ -92,6 +93,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/libharfbuzz-icu.so.* %{_libdir}/libharfbuzz-icu.so.*
%changelog %changelog
* Sat Sep 30 2023 Parag Nemade <pnemade AT redhat DOT com> - 8.2.1-2
- Resolves:rh#2241391 - Fix LibreOffice tests run
* Wed Sep 20 2023 Parag Nemade <pnemade AT redhat DOT com> - 8.2.1-1 * Wed Sep 20 2023 Parag Nemade <pnemade AT redhat DOT com> - 8.2.1-1
- Update to 8.2.1 version (#2239664) - Update to 8.2.1 version (#2239664)