public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Sandro Mani <manisandro@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/mingw-freetype] f43: Backport fix for CVE-2026-49919
Date: Sat, 31 Oct 2026 15:57:28 GMT	[thread overview]
Message-ID: <179346224821.1.1381721634506830947.rpms-mingw-freetype-cfa0fc099c03@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-10-31 15:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179346224821.1.1381721634506830947.rpms-mingw-freetype-cfa0fc099c03@fedoraproject.org \
    --to=manisandro@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox