Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5c04aaab5 |
||
|
|
d478f9e9fa |
2 changed files with 39 additions and 1 deletions
25
1265ff8d990284f04d8768f35b0e20ae5f60daae.patch
Normal file
25
1265ff8d990284f04d8768f35b0e20ae5f60daae.patch
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
From 1265ff8d990284f04d8768f35b0e20ae5f60daae Mon Sep 17 00:00:00 2001
|
||||
From: Behdad Esfahbod <behdad@behdad.org>
|
||||
Date: Fri, 9 Jan 2026 04:54:42 -0700
|
||||
Subject: [PATCH] [cmap] malloc fail test (#5710)
|
||||
|
||||
Fixes https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww
|
||||
---
|
||||
src/hb-ot-cmap-table.hh | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh
|
||||
index 32f705bb3c5..d08e66edaa2 100644
|
||||
--- a/src/hb-ot-cmap-table.hh
|
||||
+++ b/src/hb-ot-cmap-table.hh
|
||||
@@ -1670,6 +1670,10 @@ struct SubtableUnicodesCache {
|
||||
{
|
||||
SubtableUnicodesCache* cache =
|
||||
(SubtableUnicodesCache*) hb_malloc (sizeof(SubtableUnicodesCache));
|
||||
+
|
||||
+ if (unlikely (!cache))
|
||||
+ return nullptr;
|
||||
+
|
||||
new (cache) SubtableUnicodesCache (source_table);
|
||||
return cache;
|
||||
}
|
||||
|
|
@ -1,12 +1,22 @@
|
|||
Name: harfbuzz
|
||||
Version: 10.4.0
|
||||
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
|
||||
|
||||
# [cmap] malloc fail test (#5710)
|
||||
# https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae
|
||||
#
|
||||
# Fixes:
|
||||
#
|
||||
# Null Pointer Dereference in SubtableUnicodesCache::create leading to DoS
|
||||
# https://www.cve.org/CVERecord?id=CVE-2026-22693
|
||||
# https://github.com/harfbuzz/harfbuzz/security/advisories/GHSA-xvjr-f2r9-c7ww
|
||||
Patch: https://github.com/harfbuzz/harfbuzz/commit/1265ff8d990284f04d8768f35b0e20ae5f60daae.patch
|
||||
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: freetype-devel
|
||||
BuildRequires: glib2-devel
|
||||
|
|
@ -111,6 +121,9 @@ This package contains Harfbuzz Cairo support library.
|
|||
%{_libdir}/libharfbuzz-cairo.so.*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 14 2026 Parag Nemade <pnemade AT redhat DOT com> - 10.4.0-2
|
||||
- Backport security fix for CVE-2026-22693 (fix RHBZ#2429278)
|
||||
|
||||
* Sat Mar 01 2025 Parag Nemade <pnemade AT redhat DOT com> - 10.4.0-1
|
||||
- Update to 10.4.0 version (#2349122)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue