public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mingw-freetype] f43: Backport fix for CVE-2026-49919
@ 2026-10-31 15:57 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-10-31 15:57 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mingw-freetype
Branch : f43
Commit : cfa0fc099c03ec3543a33360a6fd7ed5fa0ed794
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-10-31T16:57:12+01:00
Stats : +19/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mingw-freetype/c/cfa0fc099c03ec3543a33360a6fd7ed5fa0ed794?branch=f43
Log:
Backport fix for CVE-2026-49919
---
diff --git a/156c7ea38f99de0d3827d0340fe6399325ef8cc7.patch b/156c7ea38f99de0d3827d0340fe6399325ef8cc7.patch
new file mode 100644
index 0000000..015db23
--- /dev/null
+++ b/156c7ea38f99de0d3827d0340fe6399325ef8cc7.patch
@@ -0,0 +1,13 @@
+diff -rupN --no-dereference freetype-2.13.3/src/sfnt/ttcolr.c freetype-2.13.3-new/src/sfnt/ttcolr.c
+--- freetype-2.13.3/src/sfnt/ttcolr.c 2024-07-18 09:48:43.000000000 +0200
++++ freetype-2.13.3-new/src/sfnt/ttcolr.c 2026-10-31 16:56:25.862496663 +0100
+@@ -1805,8 +1805,7 @@
+ FT_Byte* q;
+
+
+- size = rows * pitch;
+- if ( FT_ALLOC( buf, size ) )
++ if ( FT_ALLOC_MULT( buf, rows, pitch ) )
+ return error;
+
+ p = dstSlot->bitmap.buffer;
diff --git a/mingw-freetype.spec b/mingw-freetype.spec
index 067dc04..ae6f071 100644
--- a/mingw-freetype.spec
+++ b/mingw-freetype.spec
@@ -3,7 +3,7 @@
Name: mingw-freetype
# NOTE See comment for Patch2 below
Version: 2.13.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Free and portable font rendering engine
License: FTL OR GPL-2.0-or-later
@@ -18,6 +18,8 @@ Patch0: freetype-2.3.0-enable-spr.patch
Patch1: freetype-2.2.1-enable-valid.patch
# Re-add symbol downstream for ABI compatibility only. Remove once soname has been bumped from -6.
Patch2: freetype-2.10.0-internal-outline.patch
+# Backport fix for CVE-2026-49919
+Patch3: https://gitlab.freedesktop.org/freetype/freetype/-/commit/156c7ea38f99de0d3827d0340fe6399325ef8cc7.patch
BuildArch: noarch
@@ -133,6 +135,9 @@ rm -rf %{buildroot}%{mingw32_mandir} %{buildroot}%{mingw64_mandir}
%changelog
+* Sat Oct 31 2026 Sandro Mani <manisandro@gmail.com> - 2.13.3-4
+- Backport fix for CVE-2026-49919
+
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.13.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-31 15:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-31 15:57 [rpms/mingw-freetype] f43: Backport fix for CVE-2026-49919 Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox