[php-src] PR #13002: Fix crash in adoptNode with attribute references
| From: | nielsdos | Date: | Fri, 22 Dec 2023 21:18:24 +0000 |
| Subject: | [php-src] PR #13002: Fix crash in adoptNode with attribute references | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24577@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13002
Author: nielsdos
I forgot to also update the document reference of attributes, so when there is no document reference
anymore from a variable, but still an attribute, this can crash. Fix it by also updating the
document references for attributes.