Bug #81325 [Opn->Csd]: Segfault in zif_simplexml_import_dom

From: Date: Tue, 03 Aug 2021 10:09:13 +0000
Subject: Bug #81325 [Opn->Csd]: Segfault in zif_simplexml_import_dom
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235544@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81325&edit=1 ID: 81325 Updated by: git@php.net Reported by: remi@php.net Summary: Segfault in zif_simplexml_import_dom -Status: Open +Status: Closed Type: Bug Package: SimpleXML related PHP Version: 8.0.9 Block user comment: N Private report: N New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2021-08-03 09:43:42] 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 09:39:25] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81325&edit=1

« previous php.bugs (#235544) next »