- Set default opStack size to 256
- Fix integer wraparound. opStack offset in rbx will always be >= 0
This commit is contained in:
parent
5aa3da2f84
commit
c7a68bf283
2 changed files with 15 additions and 13 deletions
|
@ -22,7 +22,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "q_shared.h"
|
||||
#include "qcommon.h"
|
||||
|
||||
#define OPSTACK_SIZE 1024
|
||||
// don't change, this is hardcoded into x86 VMs, opStack protection relies
|
||||
// on this
|
||||
#define OPSTACK_SIZE 256
|
||||
#define OPSTACK_MASK (OPSTACK_SIZE-1)
|
||||
|
||||
// don't change
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue