php-src/ext/xmlrpc
Christoph M. Becker 502b187ae8 Fix #75282: xmlrpc_encode_request() crashes
Since we allow ext/xmlrpc to be built against a system libxmlrpc(-epi),
we must not `efree` memory which has been allocated via `malloc`.  To
distinguish bundled and system libxmlrpc(-epi) we introduce the macro
`HAVE_XMLRPC_BUNDLED` (analogous to how it is done by ext/gd).  We
deliberately keep the ugly `#ifdef`s, instead of tucking them away in
an `XMLRPC_FREE()` macro, to not forget that it is a bad idea to fork
and bundle a library, but to also allow building against an unpatched
system lib.
2018-10-21 12:06:55 +02:00
..
libxmlrpc Sync leading and final newlines in source code files 2018-10-14 12:54:08 +02:00
tests Sync leading and final newlines in *.phpt sections 2018-10-15 04:31:31 +02:00
config.m4 Fix #75282: xmlrpc_encode_request() crashes 2018-10-21 12:06:55 +02:00
config.w32 Fix #75282: xmlrpc_encode_request() crashes 2018-10-21 12:06:55 +02:00
CREDITS
EXPERIMENTAL Trim trailing whitespace in source code files 2018-10-13 14:14:50 +02:00
php_xmlrpc.h year++ 2018-01-02 12:55:14 +08:00
xmlrpc-epi-php.c Fix #75282: xmlrpc_encode_request() crashes 2018-10-21 12:06:55 +02:00