1
0
mirror of https://github.com/php/php-src.git synced 2026-04-20 06:21:12 +02:00

- Fix string offsets crash.

This commit is contained in:
Andi Gutmans
2001-06-20 17:14:58 +00:00
parent 03ae0d775b
commit 1aa5b19cc9

View File

@@ -282,7 +282,7 @@ static inline void zend_assign_to_variable(znode *result, znode *op1, znode *op2
if (op2
&& op2->op_type == IS_VAR
&& value==&Ts[op2->u.var].tmp_var) {
efree(value->value.str.val);
STR_FREE(value->value.str.val);
}
if (final_value == &tmp) {
zval_dtor(final_value);