projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26bd240
)
srt: initialize list access within locked region
author
Mark Nauwelaerts
<mnauw@users.sourceforge.net>
Wed, 1 May 2019 16:58:30 +0000
(18:58 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 8 Aug 2019 16:13:25 +0000
(17:13 +0100)
ext/srt/gstsrtobject.c
patch
|
blob
|
history
diff --git
a/ext/srt/gstsrtobject.c
b/ext/srt/gstsrtobject.c
index
aadcfb5
..
5baaa9b
100644
(file)
--- a/
ext/srt/gstsrtobject.c
+++ b/
ext/srt/gstsrtobject.c
@@
-1292,9
+1292,10
@@
gst_srt_object_write_to_callers (GstSRTObject * srtobject,
GstBufferList * headers,
const GstMapInfo * mapinfo, GCancellable * cancellable, GError ** error)
{
- GList *callers
= srtobject->callers
;
+ GList *callers;
GST_OBJECT_LOCK (srtobject->element);
+ callers = srtobject->callers;
while (callers != NULL) {
gssize len = 0;
const guint8 *msg = mapinfo->data;