com php-src: Fixed bug #69152: ext/soap/soap.c
| From: | Dmitry Stogov | Date: | Thu, 19 Mar 2015 08:36:01 +0000 |
| Subject: | com php-src: Fixed bug #69152: ext/soap/soap.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85644@lists.php.net to get a copy of this message | ||
Commit: 51856a76f87ecb24fe1385342be43610fb6c86e4
Author: Dmitry Stogov <dmitry@zend.com> Thu, 19 Mar 2015 11:36:01 +0300
Parents: 4c3b73b6dfda62c19c6273f9b4e530d421de8baf
Branches: PHP-5.4 PHP-5.5 PHP-5..6 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=51856a76f87ecb24fe1385342be43610fb6c86e4
Log:
Fixed bug #69152
Bugs:
https://bugs.php.net/69152
Changed paths:
M ext/soap/soap.c
Diff:
diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index d460c17..41aa1ad 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap..c
@@ -924,6 +924,12 @@ PHP_METHOD(SoapFault, __toString)
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");