projects
/
openldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac51f76
)
[PATCH] ITS#9427 fix issuerAndThisUpdateCheck
author
Howard Chu
<hyc@openldap.org>
Wed, 16 Dec 2020 18:52:42 +0000
(18:52 +0000)
committer
Ryan Tandy
<ryan@nardis.ca>
Sat, 14 May 2022 18:35:44 +0000
(19:35 +0100)
Gbp-Pq: Name ITS-9427-fix-issuerAndThisUpdateCheck.patch
servers/slapd/schema_init.c
patch
|
blob
|
history
diff --git
a/servers/slapd/schema_init.c
b/servers/slapd/schema_init.c
index 4527ea86b2c204016ff4b39e91c89f1d05d31e28..91912d24818f590fc72357bd87e396e0954fc000 100644
(file)
--- a/
servers/slapd/schema_init.c
+++ b/
servers/slapd/schema_init.c
@@
-3799,7
+3799,7
@@
issuerAndThisUpdateCheck(
if ( in->bv_len < STRLENOF( "{issuer \"\",thisUpdate \"YYMMDDhhmmssZ\"}" ) ) return LDAP_INVALID_SYNTAX;
- if ( in->bv_val[0] != '{'
&&
in->bv_val[in->bv_len-1] != '}' ) {
+ if ( in->bv_val[0] != '{'
||
in->bv_val[in->bv_len-1] != '}' ) {
return LDAP_INVALID_SYNTAX;
}