From fc1021820507fce395475ba80aaab764881ca6f9 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Sun, 10 Sep 2006 01:14:17 +0000 Subject: [PATCH] revert [111], they've fixed it git-svn-id: svn://svn.lighttpd.net/xcache/trunk@151 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- xcache.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/xcache.c b/xcache.c index 8060540..f05701a 100644 --- a/xcache.c +++ b/xcache.c @@ -1279,23 +1279,6 @@ static void xc_request_init(TSRMLS_D) /* {{{ */ #ifdef HAVE_XCACHE_COVERAGER xc_coverager_request_init(TSRMLS_C); #endif -#if defined(SUHOSIN_PATCH) && SUHOSIN_PATCH && defined(ZEND_ENGINE_2) - { - static zend_bool suhosin_trick_done = 0; - if (!suhosin_trick_done) { - zend_class_entry *tmpclass = emalloc(sizeof(zend_class_entry)); - - suhosin_trick_done = 1; - tmpclass->type = ZEND_USER_CLASS; - tmpclass->name = emalloc(5); - tmpclass->name_length = 4; - memcpy(tmpclass->name, "test", tmpclass->name_length); - - zend_initialize_class_data(tmpclass, 1 TSRMLS_CC); - destroy_zend_class(&tmpclass); - } - } -#endif } /* }}} */ static void xc_request_shutdown(TSRMLS_D) /* {{{ */