tony2001                Mon Jun 19 11:43:36 2006 UTC

  Modified files:              
    /php-src/ext/soap   php_schema.c 
  Log:
  fix #37807 (segmentation fault during SOAP schema import)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_schema.c?r1=1.64&r2=1.65&diff_format=u
Index: php-src/ext/soap/php_schema.c
diff -u php-src/ext/soap/php_schema.c:1.64 php-src/ext/soap/php_schema.c:1.65
--- php-src/ext/soap/php_schema.c:1.64  Sun Apr  9 23:38:30 2006
+++ php-src/ext/soap/php_schema.c       Mon Jun 19 11:43:36 2006
@@ -17,7 +17,7 @@
   |          Dmitry Stogov <[EMAIL PROTECTED]>                             |
   +----------------------------------------------------------------------+
 */
-/* $Id: php_schema.c,v 1.64 2006/04/09 23:38:30 andrei Exp $ */
+/* $Id: php_schema.c,v 1.65 2006/06/19 11:43:36 tony2001 Exp $ */
 
 #include "php_soap.h"
 #include "libxml/uri.h"
@@ -115,7 +115,7 @@
                if (import) {
                        if (ns != NULL && (new_tns == NULL || 
strcmp(ns->children->content,new_tns->children->content) != 0)) {
                                xmlFreeDoc(doc);
-                               soap_error2(E_ERROR, "Parsing Schema: can't 
import schema from '%s', unexpected 'targetNamespace'='%s'", location, 
new_tns->children->content);
+                               soap_error2(E_ERROR, "Parsing Schema: can't 
import schema from '%s', unexpected 'targetNamespace'='%s'", location, 
ns->children->content);
                        }
                        if (ns == NULL && new_tns != NULL) {
                                xmlFreeDoc(doc);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to