diff options
author | D G Turner | 2011-11-25 06:30:10 +0000 |
---|---|---|
committer | D G Turner | 2011-11-25 06:30:10 +0000 |
commit | a0dbe45a454f8b64efb784131b13b942ee060675 (patch) | |
tree | 085ace333d8c8bdacaf83ad2d3f6014d5db370a1 /devtools/create_project | |
parent | c451bd4340cc8d76e1ba6bb55d3d75b67c38e4cf (diff) | |
download | scummvm-rg350-a0dbe45a454f8b64efb784131b13b942ee060675.tar.gz scummvm-rg350-a0dbe45a454f8b64efb784131b13b942ee060675.tar.bz2 scummvm-rg350-a0dbe45a454f8b64efb784131b13b942ee060675.zip |
DRASCULA: Add fix for crash/OOB memory accesses in bug #3440895
This bug is "DRASCULA-IT: Crash/graphic glitch at castle towers".
The crash was due to width and height values being passed to
copyBackground() being invalid due to out of bounds read from
the factor_red array. This adds debugging statements and fixes
the crash by clipping accesses to the maximum index of factor_red.
This doesn't however fix the observed GFX glitch, but stops it being
a segfault.
Diffstat (limited to 'devtools/create_project')
0 files changed, 0 insertions, 0 deletions