[Scummvm-tracker] [ScummVM :: Bugs] #15516: GOB: Adibou 2 (Demo): random setGoblinState() SIGSEGV at game start

ScummVM :: Bugs trac at scummvm.org
Mon Nov 25 11:40:29 UTC 2024


#15516: GOB: Adibou 2 (Demo): random setGoblinState() SIGSEGV at game start
---------------------+--------------------------
Reporter:  dwatteau  |       Owner:  sdelamarre
    Type:  defect    |      Status:  closed
Priority:  high      |   Component:  Engine: Gob
 Version:            |  Resolution:  fixed
Keywords:            |        Game:  Adibou 2
---------------------+--------------------------
Comment (by sdelamarre):

 I could not reproduce the crash either - but this opcode does some
 dangerous computations, where pointers offsets are read from games
 variables, so it is easy to run into undefined behaviour.

 And after comparing carefully with the original, I found that we were
 missing a "break" statement on line 82. This would explain the crash
 pretty well.

 I pushed the correction on master (1de09b), can you check if it fixes the
 issue  @dwatteau ? If so I will backport it to 2.9.
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15516#comment:5>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list