-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
Description
The following code:
<?php
$v_1030 = 'inputStringArray';
$v_1025 = new SoapVar($v_1030,$v_1025,);
$v_1022 = array(0 => $v_1025,);
$v_1026 = SOAP_ENC_ARRAY;
$v_1027 = 'ArrayOfstring';
$v_1028 = 'http://soapinterop.org/xsd';
$v_1029 = new SoapVar($v_1022,$v_1026,$v_1027,$v_1028,);
$v_1031 = new SoapParam($v_1029,$v_1030,);
$v_1032 = NULL;
$v_1035 = 'test://';
$v_1037 = 'http://soapinterop.org/';
$v_1041 = 0;
$v_1033 = array('location' => $v_1035,'uri' => $v_1037,'trace' => $v_1025,'exceptions' => $v_1041,);
$v_1042 = new SoapClient($v_1032,$v_1033,);
$v_1043 = 'echoStringArray';
$v_1044 = array(0 => $v_1029,);
$v_1047 = 'http://soapinterop.org/';
$v_1045 = array('soapaction' => $v_1047,'uri' => $v_1030,);
$v_1050 = $v_1042->__soapCall($v_1043,$v_1044,$v_1045,);
Resulted in this output:
/home/w023dtc/nightly_php/php-src/ext/soap/php_encoding.c:3674:38: runtime error: null pointer passed as argument 1, which is declared to never be null
/usr/include/string.h:408:33: note: nonnull attribute specified here
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /home/w023dtc/nightly_php/php-src/ext/soap/php_encoding.c:3674:38
PHP Version
nightly
Operating System
ubuntu 22.04