|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78563 Segmentation fault when using a cloned XML object
Submitted: 2019-09-18 21:21 UTC Modified: 2019-09-18 22:05 UTC
From: Assigned: marandall (profile)
Status: Closed Package: *XML functions
PHP Version: master-Git-2019-09-18 (Git) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2019-09-18 21:21 UTC]
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>');


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-18 22:05 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: marandall
 [2019-09-19 08:36 UTC]
The following pull request has been associated:

Patch Name: Fix #78563: Cloning an XMLParser causes a segfault
On GitHub:
 [2019-10-04 21:33 UTC]
The following pull request has been associated:

Patch Name: Fixed bug #78563 - XML Parser Cloning / Extension
On GitHub:
 [2019-10-07 08:25 UTC]
Automatic comment on behalf of
Log: Fix bug #78563
 [2019-10-07 08:25 UTC]
-Status: Assigned +Status: Closed
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun May 28 23:03:39 2023 UTC