Bug #75282 [Opn]: xmlrpc_encode_request() crashes with "zend_mm_heap corrupted"

From: Date: Fri, 29 Sep 2017 06:59:31 +0000
Subject: Bug #75282 [Opn]: xmlrpc_encode_request() crashes with "zend_mm_heap corrupted"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211444@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75282&edit=1 ID: 75282 User updated by: marina at moodle dot com Reported by: marina at moodle dot com Summary: xmlrpc_encode_request() crashes with "zend_mm_heap corrupted" Status: Open Type: Bug Package: XMLRPC-EPI related Operating System: Ubuntu PHP Version: 7.2.0RC3 Block user comment: N Private report: N New Comment: sorry made a mistype, read "PHP7.2RC3" (typed 7.3 instead, living in the future) Previous Comments: ------------------------------------------------------------------------ [2017-09-29 06:56:20] marina at moodle dot com Description: ------------ Test script works fine in PHP7.0 and 7.1 but not on 7.3RC3 $ php -v PHP 7.2.0RC3 (cli) (built: Sep 28 2017 16:47:01) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.2.0-dev, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.2.0RC3, Copyright (c) 1999-2017, by Zend Technologies $ php -r "echo xmlrpc_encode_request('func', 'text', []);" zend_mm_heap corrupted Test script: --------------- echo xmlrpc_encode_request('func', 'text', []); Expected result: ---------------- <?xml version="1.0" encoding="iso-8859-1"?> <methodCall> <methodName>func</methodName> <params> <param> <value> <string>text</string> </value> </param> </params> </methodCall> Actual result: -------------- zend_mm_heap corrupted ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75282&edit=1

« previous php.bugs (#211444) next »