aboutsummaryrefslogtreecommitdiffstats
path: root/main/libvorbis/CVE-2017-14632.patch
blob: f935cc68fd99f72c7afcb4e2a7aeca5cddd6e739 (plain)
1
2
3
4
5
6
7
8
9
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;
   }