[Scummvm-tracker] [ScummVM :: Bugs] #15781: DGDS: HoC: Crash when talking to Ama

ScummVM :: Bugs trac at scummvm.org
Thu Mar 6 06:19:49 UTC 2025


#15781: DGDS: HoC: Crash when talking to Ama
-------------------+-----------------------------
Reporter:  bluegr  |       Owner:  mduggan
    Type:  defect  |      Status:  closed
Priority:  normal  |   Component:  Engine: DGDS
 Version:          |  Resolution:  fixed
Keywords:          |        Game:  Heart of China
-------------------+-----------------------------
Changes (by mduggan):

 * owner:  (none) => mduggan
 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"3082cabc0ca14f8b1d138f938123f1b557c8e591" 3082cabc]:
 {{{#!CommitTicketReference repository=""
 revision="3082cabc0ca14f8b1d138f938123f1b557c8e591"
 DGDS: Avoid crash from dialogs being reallocated

 When we dynamically load dialog data it's possible for the list to be
 reallocated during resize.  If we were also executing operations from one
 of
 the reallocated dialogs, it would crash when accessing that pointer again.

 Switch the dialog data to a List so it will not be reallocated when
 loading
 more data.

 This fixes #15781
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15781#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list