aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvorbis/CVE-2017-14632.patch
diff options
context:
space:
mode:
authordai9ah <dai9ah@protonmail.com>2018-02-15 23:33:52 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2018-02-27 14:31:55 +0000
commit29cff9d10275a6ccef556496c68890e438c82a5d (patch)
tree769e3c69d5c84a8fd4aa11d9adf9a7b249932e1d /main/libvorbis/CVE-2017-14632.patch
parenta7669109b617e502f0ac338550bc8bcdd9b89ea0 (diff)
downloadaports-29cff9d10275a6ccef556496c68890e438c82a5d.tar.bz2
aports-29cff9d10275a6ccef556496c68890e438c82a5d.tar.xz
main/libvorbis: security fixes (CVE-2017-14632, CVE-2017-14633)
Fixes #8516
Diffstat (limited to 'main/libvorbis/CVE-2017-14632.patch')
-rw-r--r--main/libvorbis/CVE-2017-14632.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/libvorbis/CVE-2017-14632.patch b/main/libvorbis/CVE-2017-14632.patch
new file mode 100644
index 0000000000..f935cc68fd
--- /dev/null
+++ b/main/libvorbis/CVE-2017-14632.patch
@@ -0,0 +1,10 @@
+--- a/lib/info.c
++++ b/lib/info.c
+@@ -584,6 +584,7 @@ int vorbis_analysis_headerout(vorbis_dsp
+ private_state *b=v->backend_state;
+
+ if(!b||vi->channels<=0){
++ b = NULL;
+ ret=OV_EFAULT;
+ goto err_out;
+ }