Browse Source

cacher: fix eleak in op_array non-shadow-copy (readonly_protection=on)

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@221 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.2
Xuefer 16 years ago
parent
commit
a24b9c693d
  1. 1
      processor/processor.m4

1
processor/processor.m4

@ -545,6 +545,7 @@ DEF_STRUCT_P_FUNC(`zend_op_array', , `dnl {{{
STRUCT_P(zend_uint, refcount)
UNFIXPOINTER(zend_uint, refcount)
IFSTORE(`dst->refcount[0] = 1;')
pushdef(`AFTER_ALLOC', `IFCOPY(`
processor->active_opcodes_dst = dst->opcodes;

Loading…
Cancel
Save