From ccfaf3e4713b1878241f1235a6fcb66ad0582d47 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 7 Dec 2022 21:02:22 +0100 Subject: Add unserialize_noclass --- src/sp_config.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/sp_config.h') diff --git a/src/sp_config.h b/src/sp_config.h index ec73310..cddf816 100644 --- a/src/sp_config.h +++ b/src/sp_config.h @@ -81,6 +81,11 @@ typedef struct { u_long sid_max_length; } sp_config_session; +typedef struct { + bool enable; + zend_string *textual_representation; +} sp_config_unserialize_noclass; + typedef struct { bool enable; bool simulation; @@ -202,6 +207,7 @@ typedef struct { #define SP_TOKEN_HARDEN_RANDOM "harden_random" #define SP_TOKEN_READONLY_EXEC "readonly_exec" #define SP_TOKEN_UNSERIALIZE_HMAC "unserialize_hmac" +#define SP_TOKEN_UNSERIALIZE_NOCLASS "unserialize_noclass" #define SP_TOKEN_UPLOAD_VALIDATION "upload_validation" #define SP_TOKEN_XXE_PROTECTION "xxe_protection" #define SP_TOKEN_EVAL_BLACKLIST "eval_blacklist" -- cgit v1.3