Bug #78563 [PATCH]: Segmentation fault when using a cloned XML object
Edit report at https://bugs.php.net/bug.php?id=78563&edit=1
ID: 78563
Patch added by: cmb@php.net
Reported by: marandall@php.net
Summary: Segmentation fault when using a cloned XML object
Status: Assigned
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:
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
Previous Comments:
------------------------------------------------------------------------
[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
Thread (5 messages)