aboutsummaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorBastien Bouclet2017-11-08 20:27:47 +0100
committerBastien Bouclet2017-11-08 20:57:24 +0100
commitbf3c98815fa25a1af6544dc3a30636743aa81996 (patch)
treeca26b6c350132e479f69de4894e4e060b4d6f618 /.gitignore
parent8e8ec3900c90fc9e18571df84c5e9e754479052b (diff)
downloadscummvm-rg350-bf3c98815fa25a1af6544dc3a30636743aa81996.tar.gz
scummvm-rg350-bf3c98815fa25a1af6544dc3a30636743aa81996.tar.bz2
scummvm-rg350-bf3c98815fa25a1af6544dc3a30636743aa81996.zip
AUDIO: Add some padding to the QDM2 decoder input buffer
Fixes out of bounds reads in the Myst ME intro videos. OOB reads may happen because: - The bitstream implementation reads 4 bytes at a time, and the buffer size is not guaranteed to be a multiple of 4. - The huffman parsing code reads a fixed amount of bits when it sometimes needs not all of them. Also fixed bits vs bytes mismatch for the size parameter of the calls to the bitstream constructor, and removed a few unnecessary heap allocations. Fixes #10220.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions