diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-05-26 17:13:13 +0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-05-28 10:35:13 +0200 |
commit | fa01c2614a4e58937cd73d0f5d8b17df935bc5b5 (patch) | |
tree | f7396d3f5a6031632de8290d4006041ee2e59630 /meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/0001-qdm2-check-array-index-before-use-fix-out-of-array-a.patch | |
parent | 175406cdca39bf5b218bb4127a3e9c9bd11b653f (diff) | |
download | meta-openembedded-fa01c2614a4e58937cd73d0f5d8b17df935bc5b5.tar.gz |
gstreamear: rename directory to gstreamer-0.10
* gst-plugins-gl: fix the path to a required include
* so that it's clear that the recipes it contains are specific to the
obsolete, unmaintained version of gstreamer.
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/0001-qdm2-check-array-index-before-use-fix-out-of-array-a.patch')
-rw-r--r-- | meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/0001-qdm2-check-array-index-before-use-fix-out-of-array-a.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/0001-qdm2-check-array-index-before-use-fix-out-of-array-a.patch b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/0001-qdm2-check-array-index-before-use-fix-out-of-array-a.patch new file mode 100644 index 0000000000..8c94232d6d --- /dev/null +++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-ffmpeg-0.10.13/0001-qdm2-check-array-index-before-use-fix-out-of-array-a.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | gst-ffmpeg: qdm2: check array index before use, fix out of array | ||
2 | accesses | ||
3 | |||
4 | Upstream-Status: Backport | ||
5 | |||
6 | Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind | ||
7 | Signed-off-by: Michael Niedermayer <michaelni@gmx.at> | ||
8 | --- | ||
9 | libavcodec/qdm2.c | 5 +++++ | ||
10 | 1 files changed, 5 insertions(+), 0 deletions(-) | ||
11 | |||
12 | diff --git a/libavcodec/qdm2.c b/libavcodec/qdm2.c | ||
13 | index 4cf4b2f..1dfb8d5 100644 | ||
14 | --- a/gst-libs/ext/libav/libavcodec/qdm2.c | ||
15 | +++ b/gst-libs/ext/libav/libavcodec/qdm2.c | ||
16 | @@ -1257,6 +1257,11 @@ static void qdm2_decode_super_block (QDM2Context *q) | ||
17 | for (i = 0; packet_bytes > 0; i++) { | ||
18 | int j; | ||
19 | |||
20 | + if (i>=FF_ARRAY_ELEMS(q->sub_packet_list_A)) { | ||
21 | + SAMPLES_NEEDED_2("too many packet bytes"); | ||
22 | + return; | ||
23 | + } | ||
24 | + | ||
25 | q->sub_packet_list_A[i].next = NULL; | ||
26 | |||
27 | if (i > 0) { | ||
28 | -- | ||
29 | 1.7.5.4 | ||
30 | |||