Add opStack protection to defend against malicious QVMs
This commit is contained in:
1 parent
5f63ab9160
commit
a7ea395bd0
2 files changed
+196
-166
No files matched your search
@@ -22,7 +22,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
#include "q_shared.h"
|
||||
#include "qcommon.h"
|
||||
|
||||
#define OPSTACK_SIZE 256
|
||||
#define OPSTACK_SIZE 1024
|
||||
#define OPSTACK_MASK (OPSTACK_SIZE-1)
|
||||
|
||||
// don't change
|
||||
|
||||
Reference in new issue
Block a user