Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
David Barchiesi
OpenLDAP
Commits
27428b96
Commit
27428b96
authored
Dec 16, 2020
by
Howard Chu
Browse files
ITS#9427 fix issuerAndThisUpdateCheck
parent
354e678c
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
27428b96
...
...
@@ -3884,7 +3884,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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment