Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
bf28547b
Commit
bf28547b
authored
Mar 08, 2007
by
Pierangelo Masarati
Browse files
import fix to ITS#4823
parent
648a81c9
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
bf28547b
...
...
@@ -3,6 +3,7 @@ OpenLDAP 2.3 Change Log
OpenLDAP 2.3.35 Engineering
Fixed entry consistency check in str2entry2 (ITS#4852)
Fixed str2anlist handling of undefined attrs/OCs (ITS#4854)
Fixed zero-length IA5string handling (ITS#4823)
Fixed slapd-bdb/hdb startup with missing shm env (ITS#4851)
Fixed slapd-meta/slapo-rwm filter mapping
Fixed slapd-sql subtree shortcut (ITS#4856)
...
...
servers/slapd/schema_init.c
View file @
bf28547b
...
...
@@ -2080,8 +2080,6 @@ IA5StringValidate(
{
ber_len_t
i
;
if
(
BER_BVISEMPTY
(
val
)
)
return
LDAP_INVALID_SYNTAX
;
for
(
i
=
0
;
i
<
val
->
bv_len
;
i
++
)
{
if
(
!
LDAP_ASCII
(
val
->
bv_val
[
i
])
)
{
return
LDAP_INVALID_SYNTAX
;
...
...
@@ -2103,8 +2101,6 @@ IA5StringNormalize(
char
*
p
,
*
q
;
int
casefold
=
!
SLAP_MR_ASSOCIATED
(
mr
,
slap_schema
.
si_mr_caseExactIA5Match
);
assert
(
!
BER_BVISEMPTY
(
val
)
);
assert
(
SLAP_MR_IS_VALUE_OF_SYNTAX
(
use
));
p
=
val
->
bv_val
;
...
...
@@ -2147,12 +2143,6 @@ IA5StringNormalize(
*
q
=
'\0'
;
normalized
->
bv_len
=
q
-
normalized
->
bv_val
;
if
(
BER_BVISEMPTY
(
normalized
)
)
{
normalized
->
bv_val
=
slap_sl_realloc
(
normalized
->
bv_val
,
2
,
ctx
);
normalized
->
bv_val
[
0
]
=
' '
;
normalized
->
bv_val
[
1
]
=
'\0'
;
normalized
->
bv_len
=
1
;
}
return
LDAP_SUCCESS
;
}
...
...
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