[GIT-PULLS] [php-src] PR #23095: Zend: include() with a non-literal argument reads out of bounds with …
[email protected] (devnexen)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <brPFDCQ8Yi0hW6NBO4qlKnU5yvk5ZsVr6tSgXe3uatU@main.internal.php.net> |
Pull Request: https://github.com/php/php-src/pull/23095 Author: devnexen …error_include_args=1. Fix #23083 RT_CONSTANT() is only valid when op1 is a literal, so a CV or TMP operand turned a frame offset into a pointer inside the opline array. Read the operand from the call frame instead unless op1_type is IS_CONST.