diff options
| author | jvoisin | 2019-05-14 21:57:13 +0200 |
|---|---|---|
| committer | jvoisin | 2019-05-14 22:48:55 +0200 |
| commit | 1cdb880fac5044194f0bc62dd82fcd4480192ebe (patch) | |
| tree | ace8fdb1a2e00be2ac2c99bd7054a8d7a19fd3b3 /src/sp_disabled_functions.c | |
| parent | 6ae912e2dc8c7f47d240e6910e42bb31263eb339 (diff) | |
Fix the cookie's handling for PHP7.3+
PHP 7.3+ added a new prototype for the cookie
setting mechanism, breaking our ghetto samesite-injection,
this commit takes care of it.
Diffstat (limited to '')
| -rw-r--r-- | src/sp_disabled_functions.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/sp_disabled_functions.c b/src/sp_disabled_functions.c index 030fbd8..8177ce1 100644 --- a/src/sp_disabled_functions.c +++ b/src/sp_disabled_functions.c | |||
| @@ -1,6 +1,5 @@ | |||
| 1 | #include "php_snuffleupagus.h" | 1 | #include "php_snuffleupagus.h" |
| 2 | 2 | ||
| 3 | |||
| 4 | ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) | 3 | ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) |
| 5 | 4 | ||
| 6 | static void should_disable(zend_execute_data* execute_data, | 5 | static void should_disable(zend_execute_data* execute_data, |
