Change: Limit total script ops that can be consumed by a list valuate (#11670)

This commit is contained in:
Jonathan G Rennison
2024-01-02 18:02:12 +00:00
committed by GitHub
parent 502a52edd5
commit 48b6b1844a
5 changed files with 36 additions and 0 deletions

View File

@@ -13,6 +13,9 @@
#include "script_object.hpp"
/** Maximum number of operations allowed for valuating a list. */
static const int MAX_VALUATE_OPS = 500000;
class ScriptListSorter;
/**