summaryrefslogtreecommitdiff
path: root/user/libvorbis/CVE-2017-14160-and-2018-10393.patch
diff options
context:
space:
mode:
authorNathan Owens <ndowens@artixlinux.org>2020-10-25 15:49:46 +0000
committerNathan Owens <ndowens@artixlinux.org>2020-10-25 20:38:52 +0000
commit96dab7be3a162cfe4f2af13de0d5385f4ae47520 (patch)
tree9e81f734fab17662d6addda5be538b296547f659 /user/libvorbis/CVE-2017-14160-and-2018-10393.patch
parent60c5b0f127e002057c3e057b59da6178808d59d4 (diff)
downloadpackages-96dab7be3a162cfe4f2af13de0d5385f4ae47520.tar.gz
packages-96dab7be3a162cfe4f2af13de0d5385f4ae47520.tar.bz2
packages-96dab7be3a162cfe4f2af13de0d5385f4ae47520.tar.xz
packages-96dab7be3a162cfe4f2af13de0d5385f4ae47520.zip
user/libvorbis: Upgrade to 1.3.7
Diffstat (limited to 'user/libvorbis/CVE-2017-14160-and-2018-10393.patch')
-rw-r--r--user/libvorbis/CVE-2017-14160-and-2018-10393.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/user/libvorbis/CVE-2017-14160-and-2018-10393.patch b/user/libvorbis/CVE-2017-14160-and-2018-10393.patch
deleted file mode 100644
index 3a7097ec7..000000000
--- a/user/libvorbis/CVE-2017-14160-and-2018-10393.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 018ca26dece618457dd13585cad52941193c4a25 Mon Sep 17 00:00:00 2001
-From: Thomas Daede <daede003@umn.edu>
-Date: Wed, 9 May 2018 14:56:59 -0700
-Subject: [PATCH] CVE-2017-14160: fix bounds check on very low sample rates.
-
----
- lib/psy.c | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/lib/psy.c b/lib/psy.c
-index 422c6f1..1310123 100644
---- a/lib/psy.c
-+++ b/lib/psy.c
-@@ -602,8 +602,9 @@ static void bark_noise_hybridmp(int n,const long *b,
- for (i = 0, x = 0.f;; i++, x += 1.f) {
-
- lo = b[i] >> 16;
-- if( lo>=0 ) break;
- hi = b[i] & 0xffff;
-+ if( lo>=0 ) break;
-+ if( hi>=n ) break;
-
- tN = N[hi] + N[-lo];
- tX = X[hi] - X[-lo];
---
-2.22.0
-