From 78e451eaf99e8f239867def2d8220dfa348cc167 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 31 Jan 2023 20:16:21 +0100 Subject: Add sp.log_max_len --- src/sp_config.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sp_config.c') diff --git a/src/sp_config.c b/src/sp_config.c index 8bd238a..5db511e 100644 --- a/src/sp_config.c +++ b/src/sp_config.c @@ -11,6 +11,7 @@ static zend_result sp_process_config_root(sp_parsed_keyword *parsed_rule) { {parse_unserialize_noclass, SP_TOKEN_UNSERIALIZE_NOCLASS, &(SPCFG(unserialize_noclass))}, {parse_enable, SP_TOKEN_HARDEN_RANDOM, &(SPCFG(random).enable)}, {parse_log_media, SP_TOKEN_LOG_MEDIA, &(SPCFG(log_media))}, + {parse_ulong, SP_TOKEN_LOG_MAX_LEN, &(SPCFG(log_max_len))}, {parse_disabled_functions, SP_TOKEN_DISABLE_FUNC, NULL}, {parse_readonly_exec, SP_TOKEN_READONLY_EXEC, &(SPCFG(readonly_exec))}, {parse_enable, SP_TOKEN_GLOBAL_STRICT, &(SPCFG(global_strict).enable)}, -- cgit v1.3