[php-src] PR #22623: ext/dom: Use-after-free with namespace nodes from XSLTProcessor::regi…

From: Date: Mon, 06 Jul 2026 22:26:47 +0000
Subject: [php-src] PR #22623: ext/dom: Use-after-free with namespace nodes from XSLTProcessor::regi…
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36877@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22623 Author: devnexen …sterPHPFunctions(). Fix #22621 Namespace parents from an external document() were wrapped directly instead of through the proxy factory, so they skipped the copy that keeps non-main-document nodes alive. A DOMNameSpaceNode retained by userland then dangled once xsltFreeTransformContext() freed the external document. Route the namespace parent through the proxy factory too.

« previous php.git-pulls (#36877) next »