aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2012-02-09 16:19:26 +0000
committerAlex Dupre <ale@FreeBSD.org>2012-02-09 16:19:26 +0000
commit620c91aa75f69878ba666bbaeed1be3285f747ef (patch)
treee73bfc93be247192c533c66764fa0c6efc554eb0 /security
parent8796d6d0d69c06c0e50e00539ec7efc0a0924155 (diff)
downloadports-620c91aa75f69878ba666bbaeed1be3285f747ef.tar.gz
ports-620c91aa75f69878ba666bbaeed1be3285f747ef.zip
Notes
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;