aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-good1/CVE-2017-5840-1.patch
blob: c4268b541ab94e5f6b264c43d3cb9bd9908c2645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From 0c0b5b54ab4786029c291981caa6d106c31135e2 Mon Sep 17 00:00:00 2001
From: Leonardo Arena <rnalrd@alpinelinux.org>
Date: Fri, 28 Apr 2017 12:35:55 +0000
Subject: [PATCH] qtdemux: Increment current stts index in all code paths after
 reading one chunk

---
 gst/isomp4/qtdemux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gst/isomp4/qtdemux.c b/gst/isomp4/qtdemux.c
index f9bbdc7..d2b78ed 100644
--- a/gst/isomp4/qtdemux.c
+++ b/gst/isomp4/qtdemux.c
@@ -8003,6 +8003,7 @@ done2:
           /* save values */
           stream->stts_time = stts_time;
           stream->stts_sample_index = j + 1;
+	  stream->stts_index++;
           goto done3;
         }
       }
-- 
2.11.1