mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed use after free
This commit is contained in:
parent
91fb3a7b27
commit
05bd331c6a
1 changed files with 1 additions and 1 deletions
|
@ -523,7 +523,7 @@ static void zend_closure_internal_handler(INTERNAL_FUNCTION_PARAMETERS) /* {{{ *
|
|||
zend_closure *closure = (zend_closure*)EX(func)->common.prototype;
|
||||
closure->orig_internal_handler(INTERNAL_FUNCTION_PARAM_PASSTHRU);
|
||||
OBJ_RELEASE((zend_object*)closure);
|
||||
EX(func)->common.prototype = NULL;
|
||||
EX(func) = NULL;
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue