Skip to content

Commit

Permalink
Fix unserialize key leak
Browse files Browse the repository at this point in the history
  • Loading branch information
iluuu1994 committed Jul 11, 2024
1 parent 69b664a commit 67f6e6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/standard/var_unserializer.re
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ static int is_property_visibility_changed(zend_class_entry *ce, zval *key)
php_error_docref(NULL, E_WARNING,
"Cannot unserialize value for hooked property %s::$%s",
ZSTR_VAL(existing_propinfo->ce->name), Z_STRVAL_P(key));
zval_ptr_dtor_str(key);
return -1;
}
}
Expand Down

0 comments on commit 67f6e6d

Please sign in to comment.