Edit report at https://bugs.php.net/bug.php?id=75282&edit=1
ID: 75282
Updated by: cmb@php.net
Reported by: marina at moodle dot com
Summary: xmlrpc_encode_request() crashes with "zend_mm_heap
corrupted"
-Status: Verified
+Status: Closed
Type: Bug
Package: XMLRPC-EPI related
Operating System: Ubuntu
PHP Version: 7.2.0RC3
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of cmbecker69@gmx.de
Revision: http://git.php.net/?p=php-src.git;a=commit;h=502b187ae8cbd24f4d8c05b8a3c4e52079314bbd
Log: Fix #75282: xmlrpc_encode_request() crashes
Previous Comments:
------------------------------------------------------------------------
[2018-10-07 16:19:00] cmb@php.net
<https://github.com/php/php-src/pull/3591> is
supposed to resolve
this bug.
------------------------------------------------------------------------
[2017-10-25 06:53:05] remi@php.net
Obviously a HAVE_LIBXMLRPC is missing (config.m4), and should be used to select to proper free /
efree method for data allocated by the lib.
------------------------------------------------------------------------
[2017-10-25 00:54:24] marina at moodle dot com
Thanks Ondrej, everything works for me now as I commented also on https://github.com/oerdnj/deb.sury.org/issues/724
Nikic, we are gradually moving away from xmlrpc in Moodle but there is still some functionality that
depends on it, unfortunately.
------------------------------------------------------------------------
[2017-10-24 18:53:50] ondrej@php.net
Maybe don't revert is as whole, but just wrap the free vs efree in ext/xmlrpc/xmlrpc-epi-php.c
into #if XMLRPC_MODULE_TYPE == builtin/external ?
------------------------------------------------------------------------
[2017-10-24 18:48:55] ondrej@php.net
Thanks, that's considerate. I know it isn't easy with the distro packagers :).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=75282
--
Edit this bug report at https://bugs.php.net/bug.php?id=75282&edit=1