[php-src] PR #22630: ext/dom: Fix Dom\DtdNamedNodeMap index overflow in dimension access

From: Date: Tue, 07 Jul 2026 18:11:40 +0000
Subject: [php-src] PR #22630: ext/dom: Fix Dom\DtdNamedNodeMap index overflow in dimension access
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36884@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22630 Author: LamentXU123 Dom\DtdNamedNodeMap dimension access could overflow the index when reading DTD entities or notations. ```php <?php $doc = Dom\XMLDocument::createFromString("<!DOCTYPE root [<!ENTITY e 'x'>]><root/>"); var_dump($doc->doctype->entities[4294967296]?->nodeName); ``` ``` string(1) "e" ```

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