Skip to content

Segmentation fault (access null pointer) in SoapClient #16429

Closed

Description

@YuanchengJiang

Description

The following code:

<?php
function gen() {
var_dump(str_repeat("x", yield));
}
$gen = gen();
$gen->send(10);
$fusion = $gen;
$client = new SoapClient(__DIR__."/round2_groupB.wsdl",array("trace"=>1,"exceptions"=>0));
$client->echo2DStringArray($fusion);

Resulted in this output:

/php-src/ext/soap/php_encoding.c:2302:3: runtime error: member access within null pointer of type 'zend_object_iterator' (aka 'struct _zend_object_iterator')

PHP Version

nightly

Operating System

ubuntu 22.04

Activity

  1. added a commit that references this issue on Oct 14, 2024
    71d14d3
  2. added 3 commits that reference this issue on Oct 14, 2024
    d613c0e
    0b657fe
    37db2ed
  3. added a commit that references this issue on Oct 14, 2024
    275c7f2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions