Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
James Lowden
OpenLDAP
Commits
5255c205
Commit
5255c205
authored
17 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
import fix to ITS#5136
parent
f7763506
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
servers/slapd/value.c
+15
-1
15 additions, 1 deletion
servers/slapd/value.c
with
16 additions
and
1 deletion
CHANGES
+
1
−
0
View file @
5255c205
...
...
@@ -3,5 +3,6 @@ OpenLDAP 2.4 Change Log
OpenLDAP 2.4.6 Engineering
Fixed slapd ACL sets memory handling (ITS#4873)
Added slapd ACL sets DN ancestors operator (ITS#4860)
Fixed slapd ordered values add normalization issue (ITS#5136)
Fixed slapd-ldap SASL idassert w/o autchId
Fixed slapo-rwm modlist handling (ITS#5124)
This diff is collapsed.
Click to expand it.
servers/slapd/value.c
+
15
−
1
View file @
5255c205
...
...
@@ -718,7 +718,21 @@ ordered_value_add(
}
new
=
ch_malloc
(
(
anum
+
vnum
+
1
)
*
sizeof
(
struct
berval
));
if
(
a
->
a_nvals
&&
a
->
a_nvals
!=
a
->
a_vals
)
{
/* sanity check: if normalized modifications come in, either
* no values are present or normalized existing values differ
* from non-normalized; if no normalized modifications come in,
* either no values are present or normalized existing values
* don't differ from non-normalized */
if
(
nvals
!=
NULL
)
{
assert
(
nvals
!=
vals
);
assert
(
a
->
a_nvals
==
NULL
||
a
->
a_nvals
!=
a
->
a_vals
);
}
else
{
assert
(
a
->
a_nvals
==
NULL
||
a
->
a_nvals
==
a
->
a_vals
);
}
if
(
(
a
->
a_nvals
&&
a
->
a_nvals
!=
a
->
a_vals
)
||
nvals
!=
NULL
)
{
nnew
=
ch_malloc
(
(
anum
+
vnum
+
1
)
*
sizeof
(
struct
berval
));
/* Shouldn't happen... */
if
(
!
nvals
)
nvals
=
vals
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment