php-src/ext/libxml
Christoph M. Becker fe1bfb78d6 Fix #79191: Error in SoapClient ctor disables DOMDocument::save()
The culprit is the too restrictive fix for bug #71536, which prevents
`php_libxml_streams_IO_write()` from properly executing when unclean
shutdown is flagged.  A *more* suitable solution is to move the
`xmlwriter_free_resource_ptr()` call from the `free_obj` handler to an
added `dtor_obj` handler, to avoid to write to a closed stream in case
of late object freeing.  This makes the `EG(active)` guard superfluous.

We also fix bug79029.phpt which has to use different variables for the
three parts to actually check the original shutdown issue.

Thanks to bwoebi and daverandom for helping to investigate this issue.
2020-02-03 23:31:46 +01:00
..
tests Fix #79191: Error in SoapClient ctor disables DOMDocument::save() 2020-02-03 23:31:46 +01:00
config0.m4 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
config.w32 Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
CREDITS
libxml.c Fix #79191: Error in SoapClient ctor disables DOMDocument::save() 2020-02-03 23:31:46 +01:00
php_libxml2.def Add symbol to libxml exports 2017-09-11 17:35:25 +02:00
php_libxml.h Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00