[php-src] PR #19856: Fix use-of-uninitialized-value in zend_get_arg_offset_by_name()
| From: | iluuu1994 | Date: | Tue, 16 Sep 2025 11:42:28 +0000 |
| Subject: | [php-src] PR #19856: Fix use-of-uninitialized-value in zend_get_arg_offset_by_name() | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-33245@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19856
Author: iluuu1994
Don't access fbc->op_array.refcount on internal function. Don't attempt to cache
ZEND_ACC_USER_ARG_INFO at all, which is only used in zend_get_closure_invoke_method(). This may
reuse arg_info from a temporary closure, and hence caching would also be unsafe.
See https://github.com/php/php-src/actions/runs/17751635609/job/50447500518.