History log of /php-src/ext/dom/tests/gh16465.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# d70f3ba9 16-Oct-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-16465: Heap buffer overflow in DOMNode->getElementByTagName

If the input contains NUL bytes then the length doesn't match the actual
duplicated string's length. Note that libxml c

Fix GH-16465: Heap buffer overflow in DOMNode->getElementByTagName

If the input contains NUL bytes then the length doesn't match the actual
duplicated string's length. Note that libxml can't handle this properly
anyway so we just reject NUL bytes and too long strings.

Closes GH-16467.

show more ...