diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-03-15 16:14:40 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-03-15 16:14:40 +0000 |
commit | 09619a30cbe10aef7576bdd78ffa1097ebafbc1d (patch) | |
tree | 8f0661d615a7301517be4e12391ea362b125b1af /ext/soap/php_schema.c | |
parent | 111046ceede02288bd7868d92d163f9f918888cf (diff) | |
download | php-git-09619a30cbe10aef7576bdd78ffa1097ebafbc1d.tar.gz |
Fixed Bug #36614 (Segfault when using Soap)
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 aa04525cc8..3753245bd5 100644 --- a/ext/soap/php_schema.c +++ b/ext/soap/php_schema.c @@ -2117,7 +2117,7 @@ static void schema_attribute_fixup(sdlCtx *ctx, sdlAttributePtr attr) } if (attr->name == NULL && attr->ref != NULL) { char *name = strrchr(attr->ref, ':'); - if (*name) { + if (name) { attr->name = estrdup(name+1); } else{ attr->name = estrdup(attr->ref); |