From 39929ce509361ee72746a9b971bdc531fbf0b843 Mon Sep 17 00:00:00 2001 From: kkadosh Date: Mon, 19 Mar 2018 16:39:47 +0000 Subject: The filename filter is now matching on callsite instead of implemsite (#167) * Add match on the file where the function is called * Add the test * Constify some params * Fix potentiel null deref * Return more before if execute_data is NULL --- src/sp_utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/sp_utils.h') diff --git a/src/sp_utils.h b/src/sp_utils.h index b92f16d..61a23f9 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h @@ -49,7 +49,8 @@ bool sp_match_value(const char *, const char *, const sp_pcre *); bool sp_match_array_key(const zval *, const char *, const sp_pcre *); bool sp_match_array_value(const zval *, const char *, const sp_pcre *); void sp_log_disable(const char *restrict, const char *restrict, - const char *restrict, const sp_disabled_function *); + const char *restrict, const sp_disabled_function *, + unsigned int, const char*restrict); void sp_log_disable_ret(const char *restrict, const char *restrict, const sp_disabled_function *); int hook_function(const char *, HashTable *, -- cgit v1.3