File php-CVE-2015-4599,4600,4601.patch of Package php5.openSUSE_Leap_42.1_Update
http://git.php.net/?p=php-src.git;a=commitdiff;h=0c136a2abd49298b66acb0cad504f0f972f5bfe8
Index: ext/soap/soap.c
===================================================================
--- ext/soap/soap.c.orig 2015-06-18 16:35:35.132045252 +0200
+++ ext/soap/soap.c 2015-06-18 16:37:05.693283747 +0200
@@ -940,6 +940,12 @@
zend_call_function(&fci, NULL TSRMLS_CC);
+ convert_to_string(faultcode);
+ convert_to_string(faultstring);
+ convert_to_string(file);
+ convert_to_long(line);
+ convert_to_string(trace);
+
len = spprintf(&str, 0, "SoapFault exception: [%s] %s in %s:%ld\nStack trace:\n%s",
Z_STRVAL_P(faultcode), Z_STRVAL_P(faultstring), Z_STRVAL_P(file), Z_LVAL_P(line),
Z_STRLEN_P(trace) ? Z_STRVAL_P(trace) : "#0 {main}\n");