Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
a10fe8e0
Commit
a10fe8e0
authored
May 13, 2004
by
Pierangelo Masarati
Browse files
caught nasty empty DN bug
parent
66ddf629
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
a10fe8e0
...
...
@@ -874,7 +874,10 @@ uniqueMemberNormalize(
assert
(
SLAP_MR_IS_VALUE_OF_SYNTAX
(
usage
));
ber_dupbv
(
&
out
,
val
);
if
(
out
.
bv_len
!=
0
)
{
if
(
BER_BVISEMPTY
(
&
out
)
)
{
*
normalized
=
out
;
}
else
{
struct
berval
uid
=
BER_BVNULL
;
if
(
out
.
bv_val
[
out
.
bv_len
-
1
]
==
'B'
...
...
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