diff options
author | Antony Dovgal <tony2001@php.net> | 2006-06-19 11:43:45 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2006-06-19 11:43:45 +0000 |
commit | 20ee84dea69ea34de67a12515e2e3ba481957f62 (patch) | |
tree | 3c04c12bb6d4e3a754da17c370f708b029122ac4 /ext/soap/php_schema.c | |
parent | cd7d7039accf76d49eca83d9da005bf038bf6f77 (diff) | |
download | php-git-20ee84dea69ea34de67a12515e2e3ba481957f62.tar.gz |
MFH: fix #37807 (segmentation fault during SOAP schema import)
Diffstat (limited to 'ext/soap/php_schema.c')
-rw-r--r-- | ext/soap/php_schema.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/soap/php_schema.c b/ext/soap/php_schema.c index c448cf5fb7..42f05c64ff 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -115,7 +115,7 @@ static void schema_load_file(sdlCtx *ctx, xmlAttrPtr ns, xmlChar *location, xmlA 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); |