diff options
| author | Remi Collet | 2018-09-03 15:38:51 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-03 13:38:51 +0000 |
| commit | 499a81914597f156fe9a67e47e3baf82a0af4bde (patch) | |
| tree | 23630733f4b892d362217cb5c8840d268d03c7c1 /src/sp_utils.h | |
| parent | c947eb5378f894b154bdd33588f4bfb470075fe8 (diff) | |
Fix #241 segfault on 32-bit related to bad protype (#242)
This should close #241
Diffstat (limited to 'src/sp_utils.h')
| -rw-r--r-- | src/sp_utils.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/sp_utils.h b/src/sp_utils.h index c094fac..d835905 100644 --- a/src/sp_utils.h +++ b/src/sp_utils.h | |||
| @@ -54,10 +54,8 @@ void sp_log_disable(const char *restrict, const char *restrict, | |||
| 54 | const zend_string *restrict, const sp_disabled_function *); | 54 | const zend_string *restrict, const sp_disabled_function *); |
| 55 | void sp_log_disable_ret(const char *restrict, const zend_string *restrict, | 55 | void sp_log_disable_ret(const char *restrict, const zend_string *restrict, |
| 56 | const sp_disabled_function *); | 56 | const sp_disabled_function *); |
| 57 | int hook_function(const char *, HashTable *, | 57 | int hook_function(const char *, HashTable *, zif_handler); |
| 58 | void (*)(INTERNAL_FUNCTION_PARAMETERS)); | 58 | int hook_regexp(const sp_pcre *, HashTable *, zif_handler); |
| 59 | int hook_regexp(const sp_pcre *, HashTable *, | ||
| 60 | void (*)(INTERNAL_FUNCTION_PARAMETERS)); | ||
| 61 | bool check_is_in_eval_whitelist(const zend_string *const function_name); | 59 | bool check_is_in_eval_whitelist(const zend_string *const function_name); |
| 62 | int sp_log_request(const zend_string *folder, const zend_string *text_repr, | 60 | int sp_log_request(const zend_string *folder, const zend_string *text_repr, |
| 63 | char *from); | 61 | char *from); |
