config: fix rng2ldif null reference
Spotted by Coverity Scan
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com> --- :100644 100644 1de9181... 7a99417... M config/tools/ldap/rng2ldif/value-list.c config/tools/ldap/rng2ldif/value-list.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/config/tools/ldap/rng2ldif/value-list.c b/config/tools/ldap/rng2ldif/value-list.c index 1de9181..7a99417 100644 --- a/config/tools/ldap/rng2ldif/value-list.c +++ b/config/tools/ldap/rng2ldif/value-list.c @@ -158,6 +158,7 @@ id_readfile(struct idinfo *oi, char *filename) assert(v->name); c = valp; + assert(c); valp = strchr(c, ','); v->value = 0; -- 1.7.4.4 |
| All times are GMT. The time now is 06:09 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.