diff options
| author | Ben Fuhrmannek | 2021-09-15 20:26:02 +0200 |
|---|---|---|
| committer | Ben Fuhrmannek | 2021-09-15 20:26:02 +0200 |
| commit | 31d6a3cddd18cef447698ba2beaa7b5d9ab9dd94 (patch) | |
| tree | 015c69027703d17061d429375de84a86cc51186a /src/php_snuffleupagus.h | |
| parent | 8e42064026906f0f25caca237e4624b5b3c5087e (diff) | |
implemented execution depth limit
Diffstat (limited to 'src/php_snuffleupagus.h')
| -rw-r--r-- | src/php_snuffleupagus.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h index e11f976..0c7dc4b 100644 --- a/src/php_snuffleupagus.h +++ b/src/php_snuffleupagus.h | |||
| @@ -108,6 +108,7 @@ ZEND_BEGIN_MODULE_GLOBALS(snuffleupagus) | |||
| 108 | size_t in_eval; | 108 | size_t in_eval; |
| 109 | sp_config config; | 109 | sp_config config; |
| 110 | int is_config_valid; // 1 = valid, 0 = invalid, -1 = none | 110 | int is_config_valid; // 1 = valid, 0 = invalid, -1 = none |
| 111 | u_long execution_depth; | ||
| 111 | bool allow_broken_configuration; | 112 | bool allow_broken_configuration; |
| 112 | HashTable *disabled_functions_hook; | 113 | HashTable *disabled_functions_hook; |
| 113 | HashTable *sp_internal_functions_hook; | 114 | HashTable *sp_internal_functions_hook; |
