diff options
author | Willem Jan Palenstijn | 2017-12-03 12:49:11 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-12-03 12:49:11 +0100 |
commit | 3a933138ce9273724726efc0df051b8dcf92b7d8 (patch) | |
tree | a0e9ed1f8ed7091aaef4ce44dce21cd39e0fc2f5 /engines/sword2/mouse.cpp | |
parent | c78fa86860f55ab28554327f0da310a825041655 (diff) | |
download | scummvm-rg350-3a933138ce9273724726efc0df051b8dcf92b7d8.tar.gz scummvm-rg350-3a933138ce9273724726efc0df051b8dcf92b7d8.tar.bz2 scummvm-rg350-3a933138ce9273724726efc0df051b8dcf92b7d8.zip |
SCI: Avoid buffer overflow in amigamac sound driver
By default, frac_t is interpreted as signed. The resulting range isn't
large enough to store offsets, so we interpret it as unsigned here
instead. Fixes a crash in QfG1/Mac where instrument->loop_size is 49457.
Diffstat (limited to 'engines/sword2/mouse.cpp')
0 files changed, 0 insertions, 0 deletions