php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70760 SoapClient segfault on zend_string_realloc
Submitted: 2015-10-21 14:44 UTC Modified: 2015-10-21 17:40 UTC
From: markus dot lervik at necora dot fi Assigned:
Status: Duplicate Package: SOAP related
PHP Version: 7.0.0RC5 OS: Ubuntu 14.04
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: markus dot lervik at necora dot fi
New email:
PHP Version: OS:

 

 [2015-10-21 14:44 UTC] markus dot lervik at necora dot fi
Description:
------------
A simple SoapClient call causes PHP (both fpm and cli) to crash with the following backtrace

http://pastebin.com/edZiFUgr


The WSDL-file: http://pastebin.com/ygjiXtTU

Same code works fine on PHP 5

Test script:
---------------
<?php
$soap_parameters = array();
$soap_parameters['termSystem'] = array('_' => '', 'id' => '1.2.246.537.6.1');
$soap_parameters['find'] = array('matchText' => array('_' => 'D09', 'partial' => 2));
$soapClient = new SoapClient("CodesetService.wsdl", array(
        "trace" => 1,
        "exceptions" => 0,
        "cache_wsdl" => 0
    )
);
var_dump($soapClient->LookupCodes($soap_parameters));


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-10-21 17:40 UTC] ab@php.net
-Status: Open +Status: Duplicate
 [2015-10-21 17:40 UTC] ab@php.net
Dup of the bug #70709. Please check the latest 7.0 branch. Thanks.
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC