From: Howard Chu Date: Tue, 1 Dec 2020 18:02:51 +0000 (+0000) Subject: [PATCH] ITS#9411 fix thisUpdate check X-Git-Tag: archive/raspbian/2.4.47+dfsg-3+rpi1+deb10u5^2~8 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f0f35b3d73f81972d3ce4b7e515ff6cb4371bcd9;p=openldap.git [PATCH] ITS#9411 fix thisUpdate check Gbp-Pq: Name ITS-9411-fix-thisUpdate-check.patch --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index 8e4b4bcc..5f3b2878 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -3878,7 +3878,7 @@ issuerAndThisUpdateCheck( /* empty */; } - if ( x.bv_val[0] != '"' ) return LDAP_INVALID_SYNTAX; + if ( !x.bv_len || x.bv_val[0] != '"' ) return LDAP_INVALID_SYNTAX; x.bv_val++; x.bv_len--;