[Scummvm-tracker] [ScummVM :: Bugs] #15546: Dreamweb French crashes right at the start

ScummVM :: Bugs trac at scummvm.org
Mon Dec 2 00:37:23 UTC 2024


#15546: Dreamweb French crashes right at the start
-------------------+-------------------------------
Reporter:  criezy  |       Owner:  (none)
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  Engine: Dreamweb
 Version:          |  Resolution:
Keywords:          |        Game:
-------------------+-------------------------------
Comment (by criezy):

 In [changeset:"826660b92a149016bf9655372a71ddf201311f51" 826660b9]:
 {{{#!CommitTicketReference repository=""
 revision="826660b92a149016bf9655372a71ddf201311f51"
 DREAMWEB: Avoid out of bound read with empty strings in printDirect

 In the French version of the game, right at the start (in the first
 scene) there was a crash due to an out of bound read with a string
 of length 1 (empty, with only the '\0' character). This commit
 moves reading the next character to after checking that that the
 character is not '\0' to avoid this out of bound read.
 This fixes bug #15546.
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15546#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list