Projects
home:Eustace:branches:Eulaceura:Factory
gstreamer-plugins-good
_service:obs_scm:CVE-2016-9808-CVE-2016-9807-pr...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:CVE-2016-9808-CVE-2016-9807-pre-2.patch of Package gstreamer-plugins-good
From 1b5a8ac41cf4370b6e2f7497ec81832e7072183f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <slomo@circular-chaos.org> Date: Fri, 24 May 2013 19:34:05 +0200 Subject: [PATCH] flxdec: Properly skip non-frame chunks --- gst/flx/gstflxdec.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gst/flx/gstflxdec.c b/gst/flx/gstflxdec.c index 0f17e75178..35e934edb0 100644 --- a/gst/flx/gstflxdec.c +++ b/gst/flx/gstflxdec.c @@ -588,6 +587,13 @@ gst_flxdec_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) res = gst_pad_push (flxdec->srcpad, out); break; + default: + /* check if we have the complete frame */ + if (avail < flxfh.size) + goto need_more_data; + + gst_adapter_flush (flxdec->adapter, flxfh.size); + break; } if (chunk)
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2