Bug #78563 [PATCH]: Segmentation fault when using a cloned XML object
| From: | marandall@php.net | Date: | Fri, 04 Oct 2019 21:33:53 +0000 |
| Subject: | Bug #78563 [PATCH]: Segmentation fault when using a cloned XML object | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223094@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
Patch added by: marandall@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: 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
Previous Comments:
------------------------------------------------------------------------
[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