diff options
author | Sven Hesse | 2006-05-01 16:04:53 +0000 |
---|---|---|
committer | Sven Hesse | 2006-05-01 16:04:53 +0000 |
commit | 61a0266a926208bd45e1c378f6062921b03f8724 (patch) | |
tree | e5a091069549e80492a98822d8aa6f50017605ef /engines/gob/parse_v2.cpp | |
parent | 49dd5402139a0d4dfcce3ff7464adf4e8771da10 (diff) | |
download | scummvm-rg350-61a0266a926208bd45e1c378f6062921b03f8724.tar.gz scummvm-rg350-61a0266a926208bd45e1c378f6062921b03f8724.tar.bz2 scummvm-rg350-61a0266a926208bd45e1c378f6062921b03f8724.zip |
More stubs; GOB2 goes in-game for a second, then segfaults in the
Global-constructor; valgrind shows invalid reads in parseValExpr()
and parseExpr() while accessing _inter_variables and _inter_execPtr
svn-id: r22262
Diffstat (limited to 'engines/gob/parse_v2.cpp')
-rw-r--r-- | engines/gob/parse_v2.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/gob/parse_v2.cpp b/engines/gob/parse_v2.cpp index dce5c37995..63aaadb8e4 100644 --- a/engines/gob/parse_v2.cpp +++ b/engines/gob/parse_v2.cpp @@ -365,6 +365,8 @@ int16 Parse_v2::parseExpr(char stopToken, byte *arg_2) { int16 stkPos; int16 brackStart; + memset(operStack, 0, 20); + stkPos = -1; operPtr = (char *)(operStack - 1); valPtr = values - 1; |