public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/mingw-speex] f44: Backport fix for CVE-2026-116741
@ 2026-11-13 13:40 Sandro Mani
0 siblings, 0 replies; only message in thread
From: Sandro Mani @ 2026-11-13 13:40 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/mingw-speex
Branch : f44
Commit : 0a79b1b5e34f24ee0d73c8c2444c65357e224e5b
Author : Sandro Mani <manisandro@gmail.com>
Date : 2026-11-13T14:33:47+01:00
Stats : +20/-3 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/mingw-speex/c/0a79b1b5e34f24ee0d73c8c2444c65357e224e5b?branch=f44
Log:
Backport fix for CVE-2026-116741
---
diff --git a/09b569d1b437e5edccf3406a38714ad795e46d38.patch b/09b569d1b437e5edccf3406a38714ad795e46d38.patch
new file mode 100644
index 0000000..de35917
--- /dev/null
+++ b/09b569d1b437e5edccf3406a38714ad795e46d38.patch
@@ -0,0 +1,12 @@
+diff -rupN --no-dereference speex-1.2.1/libspeex/bits.c speex-1.2.1-new/libspeex/bits.c
+--- speex-1.2.1/libspeex/bits.c 2018-09-08 00:20:02.000000000 +0200
++++ speex-1.2.1-new/libspeex/bits.c 2026-11-13 14:32:52.795076811 +0100
+@@ -174,7 +174,7 @@ EXPORT void speex_bits_read_whole_bytes(
+ }
+ } else {
+ speex_warning("Do not own input buffer: truncating oversize input");
+- nchars=bits->buf_size;
++ nchars=bits->buf_size-(bits->nbBits>>LOG2_BITS_PER_CHAR)-1;
+ }
+ }
+
diff --git a/mingw-speex.spec b/mingw-speex.spec
index e39e0e8..09ff944 100644
--- a/mingw-speex.spec
+++ b/mingw-speex.spec
@@ -2,7 +2,7 @@
Name: mingw-speex
Version: 1.2.1
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Voice compression format (codec)
License: BSD-3-clause AND TU-Berlin-1.0
@@ -10,15 +10,17 @@ URL: http://www.speex.org/
Source0: http://downloads.xiph.org/releases/speex/speex-%{version}.tar.gz
# Fix build
Patch0: mingw-speex_build.patch
+# Backport fix for CVE-2026-116741
+Patch1: https://github.com/xiph/speex/commit/09b569d1b437e5edccf3406a38714ad795e46d38.patch
BuildArch: noarch
BuildRequires: make
-BuildRequires: mingw32-filesystem >= 95
+BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-libogg
-BuildRequires: mingw64-filesystem >= 95
+BuildRequires: mingw64-filesystem
BuildRequires: mingw64-gcc
BuildRequires: mingw64-libogg
@@ -146,6 +148,9 @@ rm -rf %{buildroot}%{mingw64_mandir}
%changelog
+* Fri Nov 13 2026 Sandro Mani <manisandro@gmail.com> - 1.2.1-4
+- Backport fix for CVE-2026-116741
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-13 13:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 13:40 [rpms/mingw-speex] f44: Backport fix for CVE-2026-116741 Sandro Mani
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox