Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
94bcff33
Commit
94bcff33
authored
Mar 05, 2007
by
Pierangelo Masarati
Browse files
fix str2anlist handling of undefined objects (ITS#4854)
parent
bd0370b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
94bcff33
...
...
@@ -2,6 +2,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 slapd-bdb/hdb startup with missing shm env (ITS#4851)
Fixed slapd-meta/slapo-rwm filter mapping
Fixed slapo-refint config message (ITS#4853)
...
...
servers/slapd/ad.c
View file @
94bcff33
...
...
@@ -888,12 +888,14 @@ str2anlist( AttributeName *an, char *in, const char *brkstr )
}
an
=
ch_realloc
(
an
,
(
i
+
j
+
1
)
*
sizeof
(
AttributeName
)
);
BER_BVZERO
(
&
an
[
i
+
j
].
an_name
);
anew
=
an
+
i
;
for
(
s
=
ldap_pvt_strtok
(
str
,
brkstr
,
&
lasts
);
s
!=
NULL
;
s
=
ldap_pvt_strtok
(
NULL
,
brkstr
,
&
lasts
)
)
{
/* put a stop mark */
BER_BVZERO
(
&
anew
[
1
].
an_name
);
anew
->
an_desc
=
NULL
;
anew
->
an_oc
=
NULL
;
anew
->
an_oc_exclude
=
0
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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