Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
gstreamer-plugins-good
0001-qtdemux-Increment-current-stts-index-whene...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-qtdemux-Increment-current-stts-index-whenever-we-finished.patch of Package gstreamer-plugins-good
From 1ffef8bf6076c42bcbaaf0ec4f11ca4cf0c797da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com> Date: Thu, 19 Jan 2017 13:46:58 +0200 Subject: [PATCH] qtdemux: Increment current stts index whenever we finished one stts entry Otherwise we could read more chunks than there are available, doing an out of bounds read and potentially crash. https://bugzilla.gnome.org/show_bug.cgi?id=777469 --- gst/isomp4/qtdemux.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c index 973af8f..5856450 100644 --- a/gst/isomp4/qtdemux.c +++ b/gst/isomp4/qtdemux.c @@ -8003,6 +8003,8 @@ qtdemux_parse_samples (GstQTDemux * qtdemux, QtDemuxStream * stream, guint32 n) /* save values */ stream->stts_time = stts_time; stream->stts_sample_index = j + 1; + if (stream->stts_sample_index >= stream->stts_samples) + stream->stts_index++; goto done3; } }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor