[Scummvm-tracker] [ScummVM :: Bugs] #13863: SCUMM/HE: Blue's Treasure Hunt - Breakout Minigame Editor crashes the program
ScummVM :: Bugs
trac at scummvm.org
Sun Jul 7 15:52:06 UTC 2024
#13863: SCUMM/HE: Blue's Treasure Hunt - Breakout Minigame Editor crashes the
program
-------------------------+-----------------------------------
Reporter: Thunderforge | Owner: AndywinXp
Type: defect | Status: closed
Priority: normal | Component: Engine: SCUMM
Version: | Resolution: fixed
Keywords: | Game: Blue's Treasure Hunt
-------------------------+-----------------------------------
Changes (by AndywinXp):
* owner: (none) => AndywinXp
* resolution: => fixed
* status: new => closed
Comment:
In [changeset:"5924b3810b5c859d1df1c469cb95a6690d7be14d" 5924b381]:
{{{#!CommitTicketReference repository=""
revision="5924b3810b5c859d1df1c469cb95a6690d7be14d"
SCUMM: HE: Fix file handling opcodes issues
Unsurprisingly SPUTM handles files via integer file
handles, instead of SeekableStream objects :-P
This means that scripts can (and will!) occasionally
send out a -1 file handle which means that:
- Write operations will result in NOP
- Read operations will result in reading the value 0
Closes #13863:
"SCUMM/HE: Blue's Treasure Hunt - Breakout
Minigame Editor crashes the program"
This game was trying to open the -1 file handle,
and therefore it crashed while trying to access
position -1 in our array of file streams :'(
}}}
--
Ticket URL: <https://bugs.scummvm.org/ticket/13863#comment:1>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list