History log of /PHP-8.2/Zend/tests/gh16630.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# fc1db70f 06-Nov-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-16630: UAF in lexer with encoding translation and heredocs

zend_save_lexical_state() can be nested multiple times, for example for
the parser initialization and then in the heredo

Fix GH-16630: UAF in lexer with encoding translation and heredocs

zend_save_lexical_state() can be nested multiple times, for example for
the parser initialization and then in the heredoc lexing. The input
should not be freed if we restore to the same filtered string.

Closes GH-16716.

show more ...