php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70940 Segfault in type_to_string
Submitted: 2015-11-19 07:16 UTC Modified: 2015-11-19 07:16 UTC
From: remi@php.net Assigned: remi (profile)
Status: Closed Package: SOAP related
PHP Version: 7.0Git-2015-11-19 (Git) OS: GNU/LInux
Private report: No CVE-ID: None
 [2015-11-19 07:16 UTC] remi@php.net
Description:
------------
Segfault

Test script:
---------------
Running zend-soap test suite

Actual result:
--------------
(gdb) bt
#0  0x00000000005d0110 in type_to_string (type=0x7f54c7be8a80, buf=buf@entry=0x7ffca46e9370, level=level@entry=0)
    at /work/build/phpmaster/ext/soap/soap.c:4806
#1  0x00000000005d5ccd in zim_SoapClient___getTypes (execute_data=<optimized out>, return_value=0x7f54ce418ee0)
    at /work/build/phpmaster/ext/soap/soap.c:3010
#2  0x000000000077e3a2 in ZEND_DO_FCALL_SPEC_HANDLER () at /work/build/phpmaster/Zend/zend_vm_execute.h:842
#3  0x000000000073a88b in execute_ex (ex=<optimized out>) at /work/build/phpmaster/Zend/zend_vm_execute.h:414
#4  0x00000000006f0343 in zend_call_function (fci=fci@entry=0x7ffca46e9570, fci_cache=0x7f54c7cc9500, fci_cache@entry=0x7ffca46e9540)
    at /work/build/phpmaster/Zend/zend_execute_API.c:854
#5  0x00000000005b95f1 in zim_reflection_method_invokeArgs (execute_data=<optimized out>, return_value=0x7f54ce4188e0)
    at /work/build/phpmaster/ext/reflection/php_reflection.c:3360
#6  0x000000000077e3a2 in ZEND_DO_FCALL_SPEC_HANDLER () at /work/build/phpmaster/Zend/zend_vm_execute.h:842
#7  0x000000000073a88b in execute_ex (ex=<optimized out>) at /work/build/phpmaster/Zend/zend_vm_execute.h:414
#8  0x000000000078d287 in zend_execute (op_array=0x7f54ce487000, op_array@entry=0x7f54ce5b1480, return_value=return_value@entry=0x7f54ce4186e0)
    at /work/build/phpmaster/Zend/zend_vm_execute.h:458
#9  0x00000000006fe3b4 in zend_execute_scripts (type=type@entry=8, retval=0x7f54ce4186e0, retval@entry=0x0, file_count=file_count@entry=3)
    at /work/build/phpmaster/Zend/zend.c:1428
#10 0x00000000006a2880 in php_execute_script (primary_file=primary_file@entry=0x7ffca46ebc20) at /work/build/phpmaster/main/main.c:2471
#11 0x000000000078ee99 in do_cli (argc=3, argv=0x2bfd6e0) at /work/build/phpmaster/sapi/cli/php_cli.c:974
#12 0x000000000042bf47 in main (argc=3, argv=0x2bfd6e0) at /work/build/phpmaster/sapi/cli/php_cli.c:1345


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-11-19 07:16 UTC] remi@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: remi
 [2015-11-19 07:19 UTC] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=6680c2b22edc635ae7a2ff26f0c2fe0990d2d1fe
Log: Fixed bug #70940 Segfault in soep / type_to_string
 [2015-11-19 07:19 UTC] remi@php.net
-Status: Assigned +Status: Closed
 [2015-11-20 01:03 UTC] ab@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0e2d72560af686204e12cf55a7e49240d8a2a9e0
Log: Fixed bug #70940 Segfault in soep / type_to_string
 [2016-07-20 11:35 UTC] davey@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=6680c2b22edc635ae7a2ff26f0c2fe0990d2d1fe
Log: Fixed bug #70940 Segfault in soep / type_to_string
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 08:01:29 2024 UTC