php-src/ext/xsl
Christoph M. Becker 8226e704e4 Fix #70078: XSL callbacks with nodes as parameter leak memory
The fix for bug #49634 solved a double-free by copying the node with
`xmlDocCopyNodeList()`, but the copied node is later freed by calling
`xmlFreeNode()` instead of `xmlFreeNodeList()`, thus leaking memory.
However, there is no need to treat the node as node list, i.e. to copy
also the node's siblings; just creating a recursive copy of the node
with `xmlDocCopyNode()` is sufficient, while that also avoids the leak.
2020-01-30 13:04:57 +01:00
..
tests Fix #70078: XSL callbacks with nodes as parameter leak memory 2020-01-30 13:04:57 +01:00
config.m4 Trim trailing whitespaces in build files 2018-07-29 03:43:45 +02:00
config.w32 Trim trailing whitespace in source code files 2018-10-13 14:16:33 +02:00
CREDITS
php_xsl.c Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
php_xsl.h Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
xsl_fe.h Remove unused Git attributes ident 2018-07-25 00:53:25 +02:00
xsltprocessor.c Fix #70078: XSL callbacks with nodes as parameter leak memory 2020-01-30 13:04:57 +01:00