Bug #78563 [Asn->Csd]: Segmentation fault when using a cloned XML object
| From: | nikic@php.net | Date: | Mon, 07 Oct 2019 08:25:00 +0000 |
| Subject: | Bug #78563 [Asn->Csd]: Segmentation fault when using a cloned XML object | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223105@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78563&edit=1
ID: 78563
Updated by: nikic@php.net
Reported by: marandall@php.net
Summary: Segmentation fault when using a cloned XML object
-Status: Assigned
+Status: Closed
Type: Bug
Package: *XML functions
PHP Version: master-Git-2019-09-18 (Git)
Assigned To: marandall
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of mrandall@digitellinc.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=52376c177dc10993dccdaa1ff20c347c8dda6d0a
Log: Fix bug #78563
Previous Comments:
------------------------------------------------------------------------
[2019-10-04 21:33:53] marandall@php.net
The following pull request has been associated:
Patch Name: Fixed bug #78563 - XML Parser Cloning / Extension
On GitHub: https://github.com/php/php-src/pull/4778
Patch: https://github.com/php/php-src/pull/4778.patch
------------------------------------------------------------------------
[2019-09-19 08:36:53] cmb@php.net
The following pull request has been associated:
Patch Name: Fix #78563: Cloning an XMLParser causes a segfault
On GitHub: https://github.com/php/php-src/pull/4722
Patch: https://github.com/php/php-src/pull/4722.patch
------------------------------------------------------------------------
[2019-09-18 21:21:35] marandall@php.net
Description:
------------
Performing objects on the clone of an XML parser object leads to a segmentation fault.
Test script:
---------------
$parser_1 = xml_parser_create();
$parser_clone = clone $parser_1;
xml_parse($parser_clone, '<?xml><example></example></xml>');
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78563&edit=1