Dominique Leuenberger 2018-04-02 20:48:12 +00:00 committed by Git OBS Bridge
commit 86eeaef740
5 changed files with 13 additions and 37 deletions

View File

@ -1,31 +0,0 @@
From 4fa7de1eb28d97837c64578c6e5f6ff835e548e4 Mon Sep 17 00:00:00 2001
From: Dongil Park <dongil.park@lge.com>
Date: Fri, 15 Dec 2017 10:50:44 +0900
Subject: playbin3: Fix accessing invalid index in GstStream when received
select-stream event
If select-stream event was send to playbin3 as missing any GstStream of ES type
(V or A or TEX) of collection then, playbin will access to invalid address of
GstStream due to invalid index limit. This caused SIGSEGV.
https://bugzilla.gnome.org/show_bug.cgi?id=791638
---
gst/playback/gstplaybin3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gst/playback/gstplaybin3.c b/gst/playback/gstplaybin3.c
index f3f5efe..36135cb 100644
--- a/gst/playback/gstplaybin3.c
+++ b/gst/playback/gstplaybin3.c
@@ -2252,7 +2252,7 @@ get_combiner_stream_id (GstPlayBin3 * playbin, GstSourceCombine * combine,
gint i;
GList *tmp;
- for (i = 0; combine->streams->len; i++) {
+ for (i = 0; i < combine->streams->len; i++) {
GstStream *stream = (GstStream *) g_ptr_array_index (combine->streams, i);
const gchar *sid = gst_stream_get_stream_id (stream);
for (tmp = full_list; tmp; tmp = tmp->next) {
--
cgit v1.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4c306b03df0212f1b8903784e29bb3493319ba19ebebf13b0c56a17870292282
size 3119468

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8fd9f25b65f3286f43530868b501a4e7cdc3f1568be78c75da716cd2559b712e
size 3093500

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 29 12:09:13 UTC 2018 - bjorn.lie@gmail.com
- Update to version 1.12.5:
+ Bugs fixed: bgo#668995, bgo#792983, bgo#784530, bgo#771853,
bgo#789358, bgo#791638
- Drop gst-pb-playbin3-fix-accessing-invalid-index.patch: Fixed
upstream.
-------------------------------------------------------------------
Tue Mar 20 17:16:33 UTC 2018 - dimstar@opensuse.org

View File

@ -20,7 +20,7 @@
%define gst_branch 1.0
%define gstreamer_plugins_base_req %(xzgrep --text "^GST[_A-Z]*_REQ" %{SOURCE0} | sort -u | sed 's/GST_REQ=/gstreamer >= /')
Name: gstreamer-plugins-base
Version: 1.12.4
Version: 1.12.5
Release: 0
Summary: GStreamer Streaming-Media Framework Plug-Ins
License: LGPL-2.1-or-later AND GPL-2.0-or-later
@ -29,8 +29,6 @@ URL: http://gstreamer.freedesktop.org/
Source0: https://gstreamer.freedesktop.org/src/gst-plugins-base/%{_name}-%{version}.tar.xz
Source1: gstreamer-plugins-base.appdata.xml
Source2: baselibs.conf
# PATCH-FIX-UPSTREAM gst-pb-playbin3-fix-accessing-invalid-index.patch bgo#791638 zaitor@opensuse.org -- playbin3: Fix accessing invalid index in GstStream when received select-stream event
Patch0: gst-pb-playbin3-fix-accessing-invalid-index.patch
BuildRequires: cdparanoia-devel
BuildRequires: fdupes
BuildRequires: glib2-devel >= 2.40.0