1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 10:03:18 +02:00

THIS MAY BE A REAL PROBLEM

This commit is contained in:
Dmitry Stogov
2014-02-25 16:38:18 +04:00
parent fe5c1cc48f
commit 068ea84a84

View File

@@ -1214,6 +1214,10 @@ convert_to_array:
convert_to_long(&tmp);
dim = &tmp;
}
//??? container may became IS_INDIRECT because of symtable initialization in zend_error
if (Z_TYPE_P(container) == IS_INDIRECT) {
container = Z_INDIRECT_P(container);
}
ZVAL_STR_OFFSET(result, Z_STR_P(container), Z_LVAL_P(dim));
Z_ADDREF_P(container);
return;