[php-src] PR #11203: Correctly copy lineno for zval asts
| From: | iluuu1994 | Date: | Sun, 07 May 2023 10:24:10 +0000 |
| Subject: | [php-src] PR #11203: Correctly copy lineno for zval asts | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22466@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11203
Author: iluuu1994
The comment was incorrect. Zval ASTs store their lineno in u2, but u2 does not get copied in
ZVAL_COPY. This triggers use-of-uninitialized errors with MSAN. Unfortunately, I don't have a
simple reproducer.