aboutsummaryrefslogtreecommitdiff
path: root/devtools/create_project
diff options
context:
space:
mode:
authorD G Turner2011-11-25 06:30:10 +0000
committerD G Turner2011-11-25 06:30:10 +0000
commita0dbe45a454f8b64efb784131b13b942ee060675 (patch)
tree085ace333d8c8bdacaf83ad2d3f6014d5db370a1 /devtools/create_project
parentc451bd4340cc8d76e1ba6bb55d3d75b67c38e4cf (diff)
downloadscummvm-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