Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
James Lowden
OpenLDAP
Commits
58c1748e
Commit
58c1748e
authored
Dec 14, 2020
by
Howard Chu
Committed by
Quanah Gibson-Mount
Dec 15, 2020
Browse files
ITS
#9424
fix serialNumberAndIssuerSerialCheck
parent
f1a0f8a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
58c1748e
...
...
@@ -4302,7 +4302,7 @@ serialNumberAndIssuerSerialCheck(
if
(
in
->
bv_len
<
3
)
return
LDAP_INVALID_SYNTAX
;
/* no old format */
if
(
in
->
bv_val
[
0
]
!=
'{'
&&
in
->
bv_val
[
in
->
bv_len
-
1
]
!=
'}'
)
return
LDAP_INVALID_SYNTAX
;
if
(
in
->
bv_val
[
0
]
!=
'{'
||
in
->
bv_val
[
in
->
bv_len
-
1
]
!=
'}'
)
return
LDAP_INVALID_SYNTAX
;
x
.
bv_val
++
;
x
.
bv_len
-=
2
;
...
...
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