|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25212 soapfault mixed up parameters
Submitted: 2003-08-22 11:45 UTC Modified: 2010-12-29 14:05 UTC
From: novicky at aarongroup dot cz Assigned: jani (profile)
Status: Closed Package: SOAP related
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
 [2003-08-22 11:45 UTC] novicky at aarongroup dot cz
The soap client object has swapped parameters "faultstring" and "faultcode" in an array returned by method __getFault(). Here is a patch that fixes the problem.

--- soap.c	14 Mar 2003 02:08:30 -0000	1.17
+++ soap.c	22 Aug 2003 16:39:29 -0000
@@ -1646,7 +1646,7 @@
 	zval *fault;
-	set_soap_fault(fault, fault_string, fault_code, fault_actor, fault_detail TSRMLS_CC);
+	set_soap_fault(fault, fault_code, fault_string, fault_actor, fault_detail TSRMLS_CC);
 	add_property_zval(obj, "__soap_fault", fault);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-01 19:21 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

Fixed a long time ago.
 [2010-12-29 14:05 UTC]
-Summary: PECL::SOAP soapfault mixed up parameters +Summary: soapfault mixed up parameters -Package: PECL related +Package: SOAP related -Assigned To: +Assigned To: jani
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC