[Scummvm-tracker] [ScummVM :: Bugs] #13973: THE DIG: Crash - Error: convertMessageToString: buffer overflow!

ScummVM :: Bugs trac at scummvm.org
Fri Dec 23 11:13:52 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):

 Ah, didn't see that you provided your own save too, sorry.

 Here's what UBsan says when this happens:

 {{{
 engines/scumm/string_v7.cpp:597:4: runtime error: index 256 out of bounds
 for type 'byte[256]'
 SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior
 engines/scumm/string_v7.cpp:597:4 in
 convertMessageToString: buffer overflow!
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/13973#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list