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-speex] f44: Backport fix for CVE-2026-116741
Date: Fri, 13 Nov 2026 13:40:43 GMT	[thread overview]
Message-ID: <179457724390.1.13761360043511452182.rpms-mingw-speex-0a79b1b5e34f@fedoraproject.org> (raw)

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
 

                 reply	other threads:[~2026-11-13 13:40 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=179457724390.1.13761360043511452182.rpms-mingw-speex-0a79b1b5e34f@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