History log of /PHP-8.4/ext/dom/tests/gh15137.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# 9d7e6090 28-Jul-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-15137: Unexpected null pointer in Zend/zend_smart_str.h (#15138)

This regressed when I optimized $wholeText. The previous code used xmlStrcat
which implicitly checked for a NULL a

Fix GH-15137: Unexpected null pointer in Zend/zend_smart_str.h (#15138)

This regressed when I optimized $wholeText. The previous code used xmlStrcat
which implicitly checked for a NULL argument, but now it's a direct memcpy
which you shouldn't pass null pointers to, although it won't result in a
crash because memcpy doesn't do anything if the length is 0.

show more ...