aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise/various.h
diff options
context:
space:
mode:
authorThierry Crozat2011-06-14 23:15:30 +0100
committerThierry Crozat2011-06-14 23:15:50 +0100
commit38c99889382c7142b3cb94a5a5bae5266f4ab7a3 (patch)
treebce59676bf562b8974a526981f3e3b9e53d90c9e /engines/cruise/various.h
parent1ca44c076c261dedc605401d39b51603fc0282af (diff)
downloadscummvm-rg350-38c99889382c7142b3cb94a5a5bae5266f4ab7a3.tar.gz
scummvm-rg350-38c99889382c7142b3cb94a5a5bae5266f4ab7a3.tar.bz2
scummvm-rg350-38c99889382c7142b3cb94a5a5bae5266f4ab7a3.zip
COMMON: Fix crash in TranslationManager when reading long strings
It was writing data beyond the end of a buffer. This change makes sure this does not happen. It only changes reading of the messages since the language codes, charset names and contexts are always much smaller than the buffer.
Diffstat (limited to 'engines/cruise/various.h')
0 files changed, 0 insertions, 0 deletions