Changeset 446 for branches/1.2


Ignore:
Timestamp:
2007-07-11T14:02:42+02:00 (7 years ago)
Author:
moo
Message:

merged [444] from trunk: fixed #55 crashes php tokenizer on certain special situation

Location:
branches/1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2

    • Property svnmerge-integrated changed
      /trunkmerged: 444
  • branches/1.2/xcache.c

    r439 r446  
    547547    zend_uint i; 
    548548    xc_entry_data_php_t *p = xce->data.php; 
     549    zend_op_array *old_active_op_array = CG(active_op_array); 
    549550#ifndef ZEND_ENGINE_2 
    550551    /* new ptr which is stored inside CG(class_table) */ 
     
    612613    free_alloca(new_cest_ptrs); 
    613614#endif 
     615    CG(active_op_array) = old_active_op_array; 
    614616    return p->op_array; 
    615617} 
     
    11451147    } 
    11461148    else { 
     1149        zend_op_array *old_active_op_array = CG(active_op_array); 
    11471150        CG(active_op_array) = op_array; 
    11481151        xc_sandbox_free(&sandbox, XC_Install TSRMLS_CC); 
     1152        CG(active_op_array) = old_active_op_array; 
    11491153    } 
    11501154 
Note: See TracChangeset for help on using the changeset viewer.