[GIT-PULLS] [php-src] PR #23258: PFA: Fix UAF of inherited attribute argument value

[email protected] (arnaud-lb)
Newsgroups php.git-pulls
Message-ID <dcm2No0kMlZB6D4JxsYa5i7xQ56k5ON803nNGUHx53s@main.internal.php.net>
Pull Request: https://github.com/php/php-src/pull/23258
Author: arnaud-lb

PFAs inherit some attributes by converting them back to AST nodes with `zp_attribute_to_ast()`, but this function failed to `ADDREF()` argument values, resulting in a UAF.

Bug found by Ryan @ Calif.io
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.