php.net |  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: marandall@php.net Assigned: marandall (profile)
Status: Closed Package: *XML functions
PHP Version: master-Git-2019-09-18 (Git) OS:
Private report: No CVE-ID: None
 [2019-09-18 21:21 UTC] 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>');


Patches

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-09-18 22:05 UTC] marandall@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: marandall
 [2019-09-19 08:36 UTC] 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-10-04 21:33 UTC] 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-10-07 08:25 UTC] nikic@php.net
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
 [2019-10-07 08:25 UTC] nikic@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 08:01:26 2019 UTC