php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81325 Segfault in zif_simplexml_import_dom
Submitted: 2021-08-03 09:39 UTC Modified: 2021-08-03 10:13 UTC
From: remi@php.net Assigned: remi (profile)
Status: Closed Package: SimpleXML related
PHP Version: 8.0.9 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: remi@php.net
New email:
PHP Version: OS:

 

 [2021-08-03 09:39 UTC] remi@php.net
Description:
------------
Discovered in Fedora CI for laminas-xmlrpc
Segfault in test suite.


(gdb) bt
#0  0x00007ffff28c923b in zif_simplexml_import_dom (execute_data=<optimized out>, return_value=0x7ffff72150e0)
    at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/ext/simplexml/simplexml.c:2638
#1  0x0000555555849f3e in ZEND_DO_FCALL_BY_NAME_SPEC_RETVAL_USED_HANDLER () at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend_vm_execute.h:1554
#2  execute_ex (ex=0x55555647b1f0) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend_vm_execute.h:54544
#3  0x000055555584c71d in zend_execute (op_array=0x7ffff727c100, return_value=0x0) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend_vm_execute.h:58871
#4  0x00005555557e1770 in zend_execute_scripts (type=type@entry=8, retval=retval@entry=0x0, file_count=file_count@entry=3)
    at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/Zend/zend.c:1680
#5  0x000055555577c68a in php_execute_script (primary_file=<optimized out>) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/main/main.c:2524
#6  0x00005555558723b7 in do_cli (argc=3, argv=0x555555e22710) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/sapi/cli/php_cli.c:948
#7  0x000055555563a6ae in main (argc=3, argv=0x555555e22710) at /usr/src/debug/php80-php-8.0.9-1.fc33.remi.x86_64/sapi/cli/php_cli.c:1336



Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-03 09:43 UTC] remi@php.net
The following pull request has been associated:

Patch Name: Fix bug #81325  Segfault in zif_simplexml_import_dom
On GitHub:  https://github.com/php/php-src/pull/7335
Patch:      https://github.com/php/php-src/pull/7335.patch
 [2021-08-03 10:09 UTC] git@php.net
Automatic comment on behalf of remicollet
Revision: https://github.com/php/php-src/commit/112527d67798b6e18ed1c639e66d8cff674dcfd8
Log: Fix bug #81325  Segfault in zif_simplexml_import_dom
 [2021-08-03 10:09 UTC] git@php.net
-Status: Open +Status: Closed
 [2021-08-03 10:13 UTC] remi@php.net
-Assigned To: +Assigned To: remi
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC