Opened 5 years ago

Closed 5 years ago

#11147 closed defect (fixed)

QFG2DEMO: Crash on start

Reported by: OmerMor Owned by: bluegr
Priority: normal Component: Engine: SCI
Version: Keywords:
Cc: Game: Quest for Glory 2

Description

Version: 2.1.0git8277-g9dd63b12b1 (2019-04-09)
Game: QFG2 Demo (https://www.scummvm.org/frs/demos/sci/qfg2-dos-ni-demo-en.zip)

When running the game it crashes on start, with the following error:

Access violation reading vocab.901: 1221 + -1 > 1220 (abs: 1221 + -1 > 1220)!

Change History (2)

comment:1 by Filippos Karapetis <bluegr@…>, 5 years ago

In 6accd633:

SCI: Add a sanity check when loading vocab 901 (suffixes)

An invalid access error, uncovered by the Span mechanism. Fixes the
QFG2 demo (bug #11147)

comment:2 by bluegr, 5 years ago

Owner: set to bluegr
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.