For negative n, the original code went down the "n < (1<<4)" path and performed an out-of-bounds array access. Fix the code to agree with section 9.2.1 of the Vorbis spec. (Verified by exhaustive testing of all 32-bit ints.) Fixes issue #355.master
parent
2f4166e91d
commit
f32854c809
1 changed files with 7 additions and 6 deletions
Loading…
Reference in New Issue