[Scummvm-tracker] [ScummVM :: Bugs] #13973: THE DIG: Crash - Error: convertMessageToString: buffer overflow!
ScummVM :: Bugs
trac at scummvm.org
Sat Dec 24 08:01:08 UTC 2022
#13973: THE DIG: Crash - Error: convertMessageToString: buffer overflow!
--------------------------------------------+----------------------------
Reporter: Bautler | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: Engine: SCUMM
Version: | Resolution:
Keywords: The Dig, buffer overflow, error | Game: The Dig
--------------------------------------------+----------------------------
Comment (by dwatteau):
I think it's more related to the reply from the creature; its text has
around 225 characters in English. It looks like we have a limit to 256
characters, but German being quite a verbose language in comparison, I
think the German translation might just overflow it (I can't get the same
scene to crash in the French release). (And The Dig uses a translation
table, while earlier games would just hardcode the translated strings into
the original scripts.)
I don't know how the original German interpreter behaved in that case.
Maybe it has a higher limit, or maybe the buffer overflow wasn't
triggered, just by luck. Or maybe the problem is unrelated to the length
of that string, but that seems unlikely to me.
I think someone from our SCUMM team is going to figure this out soon,
don't worry :) Thanks for reporting this and testing every dialogue option
in The Dig, because this may be a very old bug!
--
Ticket URL: <https://bugs.scummvm.org/ticket/13973#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list