Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
815
Issues
815
List
Boards
Labels
Milestones
Merge Requests
50
Merge Requests
50
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
aports
Commits
236e230c
Commit
236e230c
authored
Oct 06, 2018
by
Sören Tempel
Committed by
Leonardo Arena
Feb 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main/libvorbis: Fix CVE-2018-10393
parent
5f500830
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
2 deletions
+33
-2
APKBUILD
main/libvorbis/APKBUILD
+6
-2
CVE-2018-10393.patch
main/libvorbis/CVE-2018-10393.patch
+27
-0
No files found.
main/libvorbis/APKBUILD
View file @
236e230c
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
libvorbis
pkgname
=
libvorbis
pkgver
=
1.3.6
pkgver
=
1.3.6
pkgrel
=
1
pkgrel
=
2
pkgdesc
=
"Vorbis codec library"
pkgdesc
=
"Vorbis codec library"
url
=
"https://xiph.org/vorbis"
url
=
"https://xiph.org/vorbis"
arch
=
"all"
arch
=
"all"
...
@@ -11,10 +11,13 @@ makedepends="libogg-dev"
...
@@ -11,10 +11,13 @@ makedepends="libogg-dev"
source
=
"http://downloads.xiph.org/releases/vorbis/
$pkgname
-
$pkgver
.tar.xz
source
=
"http://downloads.xiph.org/releases/vorbis/
$pkgname
-
$pkgver
.tar.xz
CVE-2017-14160.patch
CVE-2017-14160.patch
CVE-2018-10392.patch
CVE-2018-10392.patch
CVE-2018-10393.patch
"
"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
# secfixes:
# secfixes:
# 1.3.6-r2:
# - CVE-2018-10393
# 1.3.6-r1:
# 1.3.6-r1:
# - CVE-2018-10392
# - CVE-2018-10392
# 1.3.6-r0:
# 1.3.6-r0:
...
@@ -53,4 +56,5 @@ package() {
...
@@ -53,4 +56,5 @@ package() {
sha512sums
=
"a5d990bb88db2501b16f8eaee9f2ecb599cefd7dab2134d16538d8905263a972157c7671867848c2a8a358bf5e5dbc7721205ece001032482f168be7bda4f132 libvorbis-1.3.6.tar.xz
sha512sums
=
"a5d990bb88db2501b16f8eaee9f2ecb599cefd7dab2134d16538d8905263a972157c7671867848c2a8a358bf5e5dbc7721205ece001032482f168be7bda4f132 libvorbis-1.3.6.tar.xz
4c2f7be947f2159ae47175cba89950c7b7d357b37a20d54382e4fbecd8c268b148e6cb86cb148945c7b68bbe8b14f466e910b35b80903ab51f1b02cfccf5806e CVE-2017-14160.patch
4c2f7be947f2159ae47175cba89950c7b7d357b37a20d54382e4fbecd8c268b148e6cb86cb148945c7b68bbe8b14f466e910b35b80903ab51f1b02cfccf5806e CVE-2017-14160.patch
a60d45144882bc72c3f4937a34baa5e2bda80a3a858b858637fee508755349b616690519e013ff6aafa7e8ff85fd1d0687a3e748b0e8bce25df1abeece97dc36 CVE-2018-10392.patch"
a60d45144882bc72c3f4937a34baa5e2bda80a3a858b858637fee508755349b616690519e013ff6aafa7e8ff85fd1d0687a3e748b0e8bce25df1abeece97dc36 CVE-2018-10392.patch
aaa8c09458ad20d45392c99781130ba815f839484b65c61e404198bae570e12401c2cf612f9c4f0b3932cc9e5eac0b066d515950425afa6eb2d6db7cc67731a6 CVE-2018-10393.patch"
main/libvorbis/CVE-2018-10393.patch
0 → 100644
View file @
236e230c
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 422c6f1e..13101230 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.18.0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment