aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/php-suhosin/files/patch-post_handler.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/php-suhosin/files/patch-post_handler.c b/security/php-suhosin/files/patch-post_handler.c
new file mode 100644
index 000000000000..33c9b7da76c9
--- /dev/null
+++ b/security/php-suhosin/files/patch-post_handler.c
@@ -0,0 +1,10 @@
+--- post_handler.c.orig 2012-02-09 17:17:35.000000000 +0100
++++ post_handler.c 2012-02-09 17:17:58.000000000 +0100
+@@ -165,6 +165,7 @@
+ void suhosin_unhook_post_handlers()
+ {
+ zend_ini_entry *ini_entry;
++ TSRMLS_FETCH();
+
+ /* Restore to an empty destructor */
+ SG(known_post_content_types).pDestructor = NULL;