]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/libvorbis-r14602-CVE-2008-1423.patch
Video outputs should not change the vout's render format.
[vlc] / extras / contrib / src / Patches / libvorbis-r14602-CVE-2008-1423.patch
1 Index: lib/codebook.c
2 ===================================================================
3 --- lib/codebook.c      (revision 14603)
4 +++ lib/codebook.c      (revision 14604)
5 @@ -159,6 +159,8 @@
6    s->entries=oggpack_read(opb,24);
7    if(s->entries==-1)goto _eofout;
8  
9 +  if(_ilog(s->dim)+_ilog(s->entries)>24)goto _eofout;
10 +
11    /* codeword ordering.... length ordered or unordered? */
12    switch((int)oggpack_read(opb,1)){
13    case 0: