mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
![]() xmlSave() also can flush in some cases. When the encoding is not available this can fail for short inputs, resulting in an empty string which is interned but then wrongly tagged by RETURN_NEW_STR. Fix this by checking the error condition and switching to RETURN_STR for defense-in-depth. This issue also exists on 8.3, but does not crash; however, due to the different API usage internally I cannot easily fix it on 8.3. There it gives a partial output. Closes GH-18606. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
php_simplexml.h | ||
php_simplexml_exports.h | ||
simplexml.c | ||
simplexml.stub.php | ||
simplexml_arginfo.h |