tony2001 Mon Jun 19 11:43:45 2006 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/soap php_schema.c Log: MFH: fix #37807 (segmentation fault during SOAP schema import) http://cvs.php.net/viewvc.cgi/php-src/ext/soap/php_schema.c?r1=1.58.2.6&r2=1.58.2.6.2.1&diff_format=u Index: php-src/ext/soap/php_schema.c diff -u php-src/ext/soap/php_schema.c:1.58.2.6 php-src/ext/soap/php_schema.c:1.58.2.6.2.1 --- php-src/ext/soap/php_schema.c:1.58.2.6 Sun Apr 9 23:35:51 2006 +++ php-src/ext/soap/php_schema.c Mon Jun 19 11:43:45 2006 @@ -17,7 +17,7 @@ | Dmitry Stogov <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: php_schema.c,v 1.58.2.6 2006/04/09 23:35:51 andrei Exp $ */ +/* $Id: php_schema.c,v 1.58.2.6.2.1 2006/06/19 11:43:45 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