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-harfbuzz] f44: Backport fix for CVE-2026-113679
Date: Mon, 26 Oct 2026 08:22:36 GMT [thread overview]
Message-ID: <179300295637.1.3033774262864366177.rpms-mingw-harfbuzz-ef5918aa60a2@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/mingw-harfbuzz
Branch : f44
Commit : ef5918aa60a2f945e76bf6f60cb53a79fea5d544
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-10-26T09:22:21+01:00
Stats : +48/-2 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/mingw-harfbuzz/c/ef5918aa60a2f945e76bf6f60cb53a79fea5d544?branch=f44
Log:
Backport fix for CVE-2026-113679
---
diff --git a/5e821de8256d01780566b5c8ab7886fae4c93da8.patch b/5e821de8256d01780566b5c8ab7886fae4c93da8.patch
new file mode 100644
index 0000000..b1b27f6
--- /dev/null
+++ b/5e821de8256d01780566b5c8ab7886fae4c93da8.patch
@@ -0,0 +1,41 @@
+diff -rupN --no-dereference harfbuzz-12.3.2/src/hb-wasm-api-font.hh harfbuzz-12.3.2-new/src/hb-wasm-api-font.hh
+--- harfbuzz-12.3.2/src/hb-wasm-api-font.hh 2026-01-24 13:09:52.000000000 +0100
++++ harfbuzz-12.3.2-new/src/hb-wasm-api-font.hh 2026-10-26 09:22:07.726354318 +0100
+@@ -115,9 +115,12 @@ HB_WASM_API (bool_t, font_get_glyph_exte
+ HB_WASM_API (void, font_glyph_to_string) (HB_WASM_EXEC_ENV
+ ptr_d(font_t, font),
+ codepoint_t glyph,
+- char *s, uint32_t size)
++ ptr_d(char, s), uint32_t size)
+ {
+ HB_REF2OBJ (font);
++ HB_ARRAY_PARAM (char, s, size);
++ if (unlikely (!s))
++ return;
+
+ hb_font_glyph_to_string (font, glyph, s, size);
+ }
+diff -rupN --no-dereference harfbuzz-12.3.2/src/hb-wasm-api.h harfbuzz-12.3.2-new/src/hb-wasm-api.h
+--- harfbuzz-12.3.2/src/hb-wasm-api.h 2026-01-24 13:09:52.000000000 +0100
++++ harfbuzz-12.3.2-new/src/hb-wasm-api.h 2026-10-26 09:22:07.726601008 +0100
+@@ -233,7 +233,7 @@ HB_WASM_API (bool_t, font_get_glyph_exte
+ HB_WASM_API (void, font_glyph_to_string) (HB_WASM_EXEC_ENV
+ ptr_d(font_t, font),
+ codepoint_t glyph,
+- char *s, uint32_t size);
++ ptr_d(char, s), uint32_t size);
+
+
+ typedef struct
+diff -rupN --no-dereference harfbuzz-12.3.2/src/hb-wasm-api-list.hh harfbuzz-12.3.2-new/src/hb-wasm-api-list.hh
+--- harfbuzz-12.3.2/src/hb-wasm-api-list.hh 2026-01-24 13:09:52.000000000 +0100
++++ harfbuzz-12.3.2-new/src/hb-wasm-api-list.hh 2026-10-26 09:22:07.726501995 +0100
+@@ -82,7 +82,7 @@ static NativeSymbol _hb_wasm_native_symb
+ NATIVE_SYMBOL ("(ii)i", font_get_glyph_h_advance),
+ NATIVE_SYMBOL ("(ii)i", font_get_glyph_v_advance),
+ NATIVE_SYMBOL ("(iii)i", font_get_glyph_extents),
+- NATIVE_SYMBOL ("(ii$*)", font_glyph_to_string),
++ NATIVE_SYMBOL ("(iiii)", font_glyph_to_string),
+ NATIVE_SYMBOL ("(iii)i", font_copy_glyph_outline),
+ NATIVE_SYMBOL ("(ii)i", font_copy_coords),
+ NATIVE_SYMBOL ("(ii)i", font_set_coords),
diff --git a/harfbuzz-python.patch b/harfbuzz-python.patch
index cb4365f..4f35375 100644
--- a/harfbuzz-python.patch
+++ b/harfbuzz-python.patch
@@ -1,6 +1,6 @@
diff -rupN --no-dereference harfbuzz-12.3.2/src/gen-def.py harfbuzz-12.3.2-new/src/gen-def.py
--- harfbuzz-12.3.2/src/gen-def.py 2026-01-24 13:09:52.000000000 +0100
-+++ harfbuzz-12.3.2-new/src/gen-def.py 2026-01-27 16:12:51.196496703 +0100
++++ harfbuzz-12.3.2-new/src/gen-def.py 2026-10-26 09:22:07.532746310 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
diff --git a/mingw-harfbuzz.spec b/mingw-harfbuzz.spec
index 5022caa..5d1d9a3 100644
--- a/mingw-harfbuzz.spec
+++ b/mingw-harfbuzz.spec
@@ -2,7 +2,7 @@
Name: mingw-harfbuzz
Version: 12.3.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW Windows Harfbuzz library
License: MIT
@@ -11,6 +11,8 @@ Source0: https://github.com/harfbuzz/harfbuzz/releases/download/%{version
# Invoke versioned python
Patch0: harfbuzz-python.patch
+# Backport fix for CVE-2026-113679
+Patch1: https://github.com/harfbuzz/harfbuzz/commit/5e821de8256d01780566b5c8ab7886fae4c93da8.patch
BuildArch: noarch
@@ -156,6 +158,9 @@ export MINGW_BUILDDIR_SUFFIX=shared
%changelog
+* Mon Oct 26 2026 Sandro Mani <manisandro@gmail.com> - 12.3.2-2
+- Backport fix for CVE-2026-113679
+
* Tue Jan 27 2026 Sandro Mani <manisandro@gmail.com> - 12.3.2-1
- Update to 12.3.2
reply other threads:[~2026-10-26 8:22 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=179300295637.1.3033774262864366177.rpms-mingw-harfbuzz-ef5918aa60a2@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