- Timestamp:
- 2006-09-10T03:14:17+02:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/xcache.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xcache.c
r148 r151 1280 1280 xc_coverager_request_init(TSRMLS_C); 1281 1281 #endif 1282 #if defined(SUHOSIN_PATCH) && SUHOSIN_PATCH && defined(ZEND_ENGINE_2)1283 {1284 static zend_bool suhosin_trick_done = 0;1285 if (!suhosin_trick_done) {1286 zend_class_entry *tmpclass = emalloc(sizeof(zend_class_entry));1287 1288 suhosin_trick_done = 1;1289 tmpclass->type = ZEND_USER_CLASS;1290 tmpclass->name = emalloc(5);1291 tmpclass->name_length = 4;1292 memcpy(tmpclass->name, "test", tmpclass->name_length);1293 1294 zend_initialize_class_data(tmpclass, 1 TSRMLS_CC);1295 destroy_zend_class(&tmpclass);1296 }1297 }1298 #endif1299 1282 } 1300 1283 /* }}} */
Note: See TracChangeset
for help on using the changeset viewer.

