[Ohrrpgce] SVN: teeemcee/11060 Fix various crashes if you passed too many arguments to a script or comm

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sun Mar 24 21:40:53 PDT 2019


teeemcee
2019-03-24 21:40:53 -0700 (Sun, 24 Mar 2019)
368
Fix various crashes if you passed too many arguments to a script or command

Because retval() is fixed size only 32 arguments are supported, but nothing
checked this! Both the interpreter and hspeak now check.

Passing more than 33 arguments to a script or command, or passing more than 4
arguments to resetgame or loadgamefromslot read/wrote past the end of retval().
---
U   wip/const.bi
U   wip/game.bas
U   wip/hspeak.exw
U   wip/oldhsinterpreter.bas
U   wip/scripting.bas
U   wip/udts.bi


More information about the Ohrrpgce mailing list