SCUMM: Invalid write when drawing charset to background
|Reported by:||Kirben||Owned by:|
Latest ScummVM cvs version.
Compiled under mingw with GCC 3.4.1 and running under
I noticed ScummVM crashes during the scrolling credits,
at the end of HE72+ games. I tried running ScummVM
under valgrind and it reports several invalid writes in
charset code. Around the point of scumm/charset.cpp
where comments mention code might be broken.
Adding bug report since it looks like general issue in
ScummVM and not a bug specific to the currently
unsupported HE 72+ games.
Attached gdb backtrace and valgrind log. Also a
screenshot of scrolling credits in a HE game in case it
Ticket imported from: #1033857. Ticket imported from: bugs/1780.