import CS git gstreamer1-plugins-base-1.16.1-6.el8_10.1

This commit is contained in:
AlmaLinux RelEng Bot 2026-08-25 12:25:04 -04:00
parent cfd1bf5583
commit 197b5e398c
2 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From 91d14fc6bff0da9d7931e4d048ca0119c05943bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com>
Date: Fri, 19 Jun 2026 13:48:16 +0300
Subject: [PATCH] opusdec: Don't use any channel positions for >64 channels
We don't support this.
Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/work_items/5122
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/12044>
---
ext/opus/gstopusdec.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ext/opus/gstopusdec.c b/ext/opus/gstopusdec.c
index 16b2a29..37980a4 100644
--- a/ext/opus/gstopusdec.c
+++ b/ext/opus/gstopusdec.c
@@ -290,6 +290,8 @@ gst_opus_dec_negotiate (GstOpusDec * dec, const GstAudioChannelPosition * pos)
GST_DEBUG_OBJECT (dec, "Using a default of 2 channels");
dec->n_channels = 2;
pos = NULL;
+ } else if (dec->n_channels > 64) {
+ pos = NULL;
}
if (dec->sample_rate == 0) {

View File

@ -6,7 +6,7 @@
Name: gstreamer1-plugins-base
Version: 1.16.1
Release: 6%{?gitcommit:.git%{shortcommit}}%{?dist}
Release: 6%{?gitcommit:.git%{shortcommit}}%{?dist}.1
Summary: GStreamer streaming media framework base plugins
License: LGPLv2+
@ -27,6 +27,9 @@ Patch5: 0006-opusdec-Set-at-most-64-channels-to-NONE-position.patch
Patch6: 0007-vorbis_parse-check-writes-to-GstOggStream.vorbis_mod.patch
Patch7: 0008-vorbisdec-Set-at-most-64-channels-to-NONE-position.patch
Patch8: 0001-riff-Correctly-check-that-enough-RGB-palette-data-is.patch
# https://issues.redhat.com/browse/RHEL-246576
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/12044
Patch9: gstreamer1-plugins-base-1.16.1-CVE-2026-18297.patch
BuildRequires: gcc-c++
BuildRequires: gstreamer1-devel >= %{version}
@ -130,6 +133,7 @@ for the GStreamer Base Plugins library.
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%build
# die rpath (method of modifying libtool fails here)
@ -497,6 +501,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gst-play-1.0
%changelog
* Tue Aug 25 2026 RHEL Packaging Agent <redhat-ymir-agent@redhat.com> - 1.16.1-6.1
- Add patch for CVE-2026-18297
Resolves: RHEL-246576
* Tue Mar 31 2026 Wim Taymans <wtaymans@redhat.com> - 1.16.1-6
- Add patch for CVE-2026-2921
Resolves: RHEL-156169