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
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: 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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 17:01:32 2024 UTC