Changeset 1385 in svn for trunk/xcache/xc_utils.c


Ignore:
Timestamp:
2013-09-22T18:17:46+02:00 (22 months ago)
Author:
Xuefer
Message:

readonly protection for copied array

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_utils.c

    r1321 r1385  
    157157            case ZEND_FAST_CALL:
    158158#   endif
    159                 assert(Z_OP(opline->op1).jmp_addr >= op_array->opcodes && (zend_uint) (Z_OP(opline->op1).jmp_addr - op_array->opcodes) < op_array->last);
     159                assert(Z_OP(opline->op1).jmp_addr >= op_array->opcodes);
     160                assert((zend_uint) (Z_OP(opline->op1).jmp_addr - op_array->opcodes) < op_array->last);
    160161                Z_OP(opline->op1).opline_num = Z_OP(opline->op1).jmp_addr - op_array->opcodes;
    161162                break;
     
    170171            case ZEND_JMP_SET_VAR:
    171172#   endif
    172                 assert(Z_OP(opline->op2).jmp_addr >= op_array->opcodes && (zend_uint) (Z_OP(opline->op2).jmp_addr - op_array->opcodes) < op_array->last);
     173                assert(Z_OP(opline->op2).jmp_addr >= op_array->opcodes);
     174                assert((zend_uint) (Z_OP(opline->op2).jmp_addr - op_array->opcodes) < op_array->last);
    173175                Z_OP(opline->op2).opline_num = Z_OP(opline->op2).jmp_addr - op_array->opcodes;
    174176                break;
Note: See TracChangeset for help on using the changeset viewer.