From: Howard Chu Date: Wed, 14 Jan 2015 18:56:12 +0000 (+0000) Subject: GSER issuer quoting fix (coverity) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=30ae5fa2cfc209721125d03ce5be4223eb642f4a;p=openldap GSER issuer quoting fix (coverity) --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 52be9a3746..46d1c6d718 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -3315,6 +3315,7 @@ serialNumberAndIssuerCheck( } if ( is->bv_val[is->bv_len+1] == '"' ) { /* double dquote */ + numdquotes++; is->bv_len += 2; continue; } @@ -3892,6 +3893,7 @@ issuerAndThisUpdateCheck( } if ( is->bv_val[is->bv_len+1] == '"' ) { /* double dquote */ + numdquotes++; is->bv_len += 2; continue; } @@ -4434,6 +4436,7 @@ serialNumberAndIssuerSerialCheck( } if ( is->bv_val[is->bv_len + 1] == '"' ) { /* double dquote */ + numdquotes++; is->bv_len += 2; continue; }