summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sp_disabled_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c
index e233259..ca1f6a9 100644
--- a/src/sp_disabled_functions.c
+++ b/src/sp_disabled_functions.c
@@ -331,7 +331,7 @@ static bool should_drop_on_ret(zval* return_value,
331 SNUFFLEUPAGUS_G(config).config_disabled_functions_ret->disabled_functions; 331 SNUFFLEUPAGUS_G(config).config_disabled_functions_ret->disabled_functions;
332 char* complete_path_function = get_complete_function_path(execute_data); 332 char* complete_path_function = get_complete_function_path(execute_data);
333 const char* current_filename = zend_get_executed_filename(TSRMLS_C); 333 const char* current_filename = zend_get_executed_filename(TSRMLS_C);
334 char current_file_hash[SHA256_SIZE * 2] = {0}; 334 char current_file_hash[SHA256_SIZE * 2 + 1] = {0};
335 bool match_type = false, match_value = false; 335 bool match_type = false, match_value = false;
336 336
337 if (!complete_path_function) { 337 if (!complete_path_function) {