[php-src] PR #16575: Fix GH-16572: Incorrect result with reflection in low-trigger JIT
| From: | nielsdos | Date: | Thu, 24 Oct 2024 19:51:45 +0000 |
| Subject: | [php-src] PR #16575: Fix GH-16572: Incorrect result with reflection in low-trigger JIT | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29388@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16575
Author: nielsdos
When a recursive call happens with invalid arguments, the maximum valid arguments are computed and
stored in
num_args, but the RECV entry block we jump to is call_num_args
instead. This can skip argument validation checks. Fix this by using num_args instead.