Changeset bd30aa1 in git


Ignore:
Timestamp:
2013-09-22T16:25:10Z (6 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.1, 3.2, master, trunk
Children:
52a1e4b
Parents:
0190cbd
Message:

readonly protection for copied array, with jmp_addr fixed

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1387 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

Location:
processor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • processor/processor.m4

    re715a91 rbd30aa1  
    674674                assert(Z_OP(DST(`op1')).jmp_addr >= processor->active_op_array_dst->opcodes);
    675675                assert(Z_OP(DST(`op1')).jmp_addr - processor->active_op_array_dst->opcodes < processor->active_op_array_dst->last);
     676                FIXPOINTER_EX(zend_op *, `Z_OP(DST(`op1')).jmp_addr')
    676677                break;
    677678
     
    691692                assert(Z_OP(DST(`op2')).jmp_addr >= processor->active_op_array_dst->opcodes);
    692693                assert(Z_OP(DST(`op2')).jmp_addr - processor->active_op_array_dst->opcodes < processor->active_op_array_dst->last);
     694                FIXPOINTER_EX(zend_op *, `Z_OP(DST(`op2')).jmp_addr')
    693695                break;
    694696
  • processor/struct.m4

    r0190cbd rbd30aa1  
    233233            ifelse(`$2', `', `IFCOPY(`DST(`$4[LOOPCOUNTER]') = NULL;')')
    234234        ')dnl IFDASM
     235        FIXPOINTER(`$3', `$4')
    235236        DONE(`$4')
    236237        popdef(`FUNC_NAME')
Note: See TracChangeset for help on using the changeset viewer.