summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/libvorbis/libvorbis/CVE-2017-14160.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/libvorbis/libvorbis/CVE-2017-14160.patch')
-rw-r--r--meta/recipes-multimedia/libvorbis/libvorbis/CVE-2017-14160.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-multimedia/libvorbis/libvorbis/CVE-2017-14160.patch b/meta/recipes-multimedia/libvorbis/libvorbis/CVE-2017-14160.patch
deleted file mode 100644
index b7603c3b13..0000000000
--- a/meta/recipes-multimedia/libvorbis/libvorbis/CVE-2017-14160.patch
+++ /dev/null
@@ -1,34 +0,0 @@
1From 018ca26dece618457dd13585cad52941193c4a25 Mon Sep 17 00:00:00 2001
2From: Thomas Daede <daede003@umn.edu>
3Date: Wed, 9 May 2018 14:56:59 -0700
4Subject: [PATCH] CVE-2017-14160: fix bounds check on very low sample rates.
5
6---
7CVE: CVE-2017-14160 CVE-2018-10393
8
9Upstream-Status: Backport [gitlab.com/Xiph.Org/Vorbis/Commits/018ca26d...]
10
11Signed-off-by: Joe Slater <joe.slater@windriver.com>
12---
13---
14 lib/psy.c | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17diff --git a/lib/psy.c b/lib/psy.c
18index 422c6f1..1310123 100644
19--- a/lib/psy.c
20+++ b/lib/psy.c
21@@ -602,8 +602,9 @@ static void bark_noise_hybridmp(int n,const long *b,
22 for (i = 0, x = 0.f;; i++, x += 1.f) {
23
24 lo = b[i] >> 16;
25- if( lo>=0 ) break;
26 hi = b[i] & 0xffff;
27+ if( lo>=0 ) break;
28+ if( hi>=n ) break;
29
30 tN = N[hi] + N[-lo];
31 tX = X[hi] - X[-lo];
32--
331.7.9.5
34