aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvorbis/CVE-2017-14632.patch
diff options
context:
space:
mode:
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;
+ }