projects
/
openldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae483f
)
[PATCH] ITS#9454 fix issuerAndThisUpdateCheck
author
Howard Chu
<hyc@openldap.org>
Sat, 6 Feb 2021 20:52:06 +0000
(20:52 +0000)
committer
Ryan Tandy
<ryan@nardis.ca>
Sat, 15 May 2021 23:03:34 +0000
(
00:03
+0100)
Gbp-Pq: Name ITS-9454-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 31be1154efafc2602c17dfa08efd8ceed4fcaa58..8b1e255393801b14e5fa9acd9ae6c62b209f18d7 100644
(file)
--- a/
servers/slapd/schema_init.c
+++ b/
servers/slapd/schema_init.c
@@
-3900,6
+3900,8
@@
issuerAndThisUpdateCheck(
break;
}
}
+ if ( tu->bv_len < STRLENOF("YYYYmmddHHmmssZ") ) return LDAP_INVALID_SYNTAX;
+
x.bv_val += tu->bv_len + 1;
x.bv_len -= tu->bv_len + 1;