Add opStack protection to defend against malicious QVMs

This commit is contained in:
Thilo Schulz committed 2011-05-10 09:14:49 +00:00
1 parent 5f63ab9160
commit a7ea395bd0
2 files changed
+196 -166

No files matched your search

+1 -1
View File
@@ -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