[php-src] PR #17085: Fix duplicate dynamic properties in hooked object iterator properties table
| From: | iluuu1994 | Date: | Sun, 08 Dec 2024 19:15:04 +0000 |
| Subject: | [php-src] PR #17085: Fix duplicate dynamic properties in hooked object iterator properties table | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29936@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17085
Author: iluuu1994
Ouch, Z_TRY_ADDREF_P() uses pz twice... Also make sure we actually reserve enough Buckets for all
dynamic properties.
We should consider updating
Z_TRY_ADDREF_P() and Z_TRY_DELREF_P() on
master. Maybe the pattern is duplicated to reduce register pressure, I'm not sure.
Maybe @dstogov can comment.