diff options
author | Dmitry Stogov <dmitry@php.net> | 2006-03-15 16:13:18 +0000 |
---|---|---|
committer | Dmitry Stogov <dmitry@php.net> | 2006-03-15 16:13:18 +0000 |
commit | eacb27d2daa91350b583bac15f11275a7f645186 (patch) | |
tree | 7dd7023add582f5a70cdf86c3149507153e74ab8 /ext/soap/php_schema.c | |
parent | 92ba7cccad8c1ab0e1105ed70a1523ab8b669424 (diff) | |
download | php-git-eacb27d2daa91350b583bac15f11275a7f645186.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); |