Changeset 151 in svn for trunk


Ignore:
Timestamp:
2006-09-10T01:14:17Z (9 years ago)
Author:
Xuefer
Message:

revert [111], they've fixed it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r148 r151  
    12801280    xc_coverager_request_init(TSRMLS_C);
    12811281#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 #endif
    12991282}
    13001283/* }}} */
Note: See TracChangeset for help on using the changeset viewer.