commit f567d683467fe8a26b3ee9d05bc170b8b54ee482
Author: leigh123linux <leigh123linux(a)googlemail.com>
Date: Fri Feb 3 10:20:32 2017 +0000
Update to 1.10.3
gst-plugins-ugly-1.10.3-asfdemux.patch | 43 ++++++++++++++++++++++++++++++++++
gstreamer1-plugins-ugly.spec | 13 ++++++----
sources | 2 +-
3 files changed, 53 insertions(+), 5 deletions(-)
---
diff --git a/gst-plugins-ugly-1.10.3-asfdemux.patch
b/gst-plugins-ugly-1.10.3-asfdemux.patch
new file mode 100644
index 0000000..3b8bf62
--- /dev/null
+++ b/gst-plugins-ugly-1.10.3-asfdemux.patch
@@ -0,0 +1,43 @@
+From fe74dabd2c8dc2be54156729986ea38582e8c7ae Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian(a)centricular.com>
+Date: Tue, 31 Jan 2017 13:50:21 +0200
+Subject: asfdemux: Check that we have enough data available before parsing
+ bool/uint extended content descriptors
+
+https://bugzilla.gnome.org/show_bug.cgi?id=777955
+
+diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c
+index 255a427..b8d48ad 100644
+--- a/gst/asfdemux/gstasfdemux.c
++++ b/gst/asfdemux/gstasfdemux.c
+@@ -3439,7 +3439,12 @@ gst_asf_demux_process_ext_content_desc (GstASFDemux * demux,
guint8 * data,
+ break;
+ }
+ case ASF_DEMUX_DATA_TYPE_DWORD:{
+- guint uint_val = GST_READ_UINT32_LE (value);
++ guint uint_val;
++
++ if (value_len < 4)
++ break;
++
++ uint_val = GST_READ_UINT32_LE (value);
+
+ /* this is the track number */
+ g_value_init (&tag_value, G_TYPE_UINT);
+@@ -3453,7 +3458,12 @@ gst_asf_demux_process_ext_content_desc (GstASFDemux * demux,
guint8 * data,
+ }
+ /* Detect 3D */
+ case ASF_DEMUX_DATA_TYPE_BOOL:{
+- gboolean bool_val = GST_READ_UINT32_LE (value);
++ gboolean bool_val;
++
++ if (value_len < 4)
++ break;
++
++ bool_val = GST_READ_UINT32_LE (value);
+
+ if (strncmp ("Stereoscopic", name_utf8, strlen (name_utf8)) == 0) {
+ if (bool_val) {
+--
+cgit v0.10.2
+
diff --git a/gstreamer1-plugins-ugly.spec b/gstreamer1-plugins-ugly.spec
index dda787d..1842231 100644
--- a/gstreamer1-plugins-ugly.spec
+++ b/gstreamer1-plugins-ugly.spec
@@ -1,13 +1,15 @@
Summary: GStreamer 1.0 streaming media framework "ugly" plug-ins
Name: gstreamer1-plugins-ugly
-Version: 1.10.2
+Version: 1.10.3
Release: 1%{?dist}
License: LGPLv2+
Group: Applications/Multimedia
URL:
http://gstreamer.freedesktop.org/
Source0:
http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-%{...
-BuildRequires: gstreamer1-devel >= 1.10.0
-BuildRequires: gstreamer1-plugins-base-devel >= 1.10.0
+#
https://cgit.freedesktop.org/gstreamer/gst-plugins-ugly/patch/?id=fe74dab...
+Patch0: gst-plugins-ugly-1.10.3-asfdemux.patch
+BuildRequires: gstreamer1-devel >= 1.10.3
+BuildRequires: gstreamer1-plugins-base-devel >= 1.10.3
BuildRequires: gettext-devel gtk-doc
BuildRequires: a52dec-devel >= 0.7.3
BuildRequires: libdvdread-devel >= 0.9.0
@@ -50,7 +52,7 @@ be shipped in gstreamer-plugins-good because:
%prep
-%autosetup -n gst-plugins-ugly-%{version}
+%autosetup -p1 -n gst-plugins-ugly-%{version}
%build
@@ -97,6 +99,9 @@ rm %{buildroot}%{_libdir}/gstreamer-1.0/*.la
%changelog
+* Fri Feb 03 2017 Leigh Scott <leigh123linux(a)googlemail.com> - 1.10.3-1
+- Update to 1.10.3
+
* Wed Nov 30 2016 leigh scott <leigh123linux(a)googlemail.com> - 1.10.2-1
- Update to 1.10.2
diff --git a/sources b/sources
index 3f38ddc..c07c3a6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c157f3fcb87db2a0f457667f3d3e6a26 gst-plugins-ugly-1.10.2.tar.xz
+198b7a8eff3e0206d3b5660389df83ef gst-plugins-ugly-1.10.3.tar.xz