[Scummvm-tracker] [ScummVM :: Bugs] #12776: SCUMM: Use after free error in DOTT intro

ScummVM :: Bugs trac at scummvm.org
Mon Aug 2 21:16:59 UTC 2021


#12776: SCUMM: Use after free error in DOTT intro
-------------------+----------------------------------
Reporter:  criezy  |       Owner:  (none)
    Type:  defect  |      Status:  new
Priority:  normal  |   Component:  Engine: SCUMM
 Version:          |  Resolution:
Keywords:          |        Game:  Day of the Tentacle
-------------------+----------------------------------
Comment (by athrxx):

 Just to make sure I am seeing the same things as you guys:
 Scumm::IMuseInternal::stopSound_internal() will call player->clear() and
 that one will delete the _parser (not the MidiDriver object, since that
 would be the player itself).

 It seems quite feasable to make a few changes that will omit the deletion
 of the parser. I can make an attempt at this if this is what you're
 talking about...
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12776#comment:6>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list