summaryrefslogtreecommitdiff
path: root/src/sp_disabled_functions.c
diff options
context:
space:
mode:
authorjvoisin2019-05-14 21:57:13 +0200
committerjvoisin2019-05-14 22:48:55 +0200
commit1cdb880fac5044194f0bc62dd82fcd4480192ebe (patch)
treeace8fdb1a2e00be2ac2c99bd7054a8d7a19fd3b3 /src/sp_disabled_functions.c
parent6ae912e2dc8c7f47d240e6910e42bb31263eb339 (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 'src/sp_disabled_functions.c')
-rw-r--r--src/sp_disabled_functions.c1
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
4ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus) 3ZEND_DECLARE_MODULE_GLOBALS(snuffleupagus)
5 4
6static void should_disable(zend_execute_data* execute_data, 5static void should_disable(zend_execute_data* execute_data,