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
Lukas However
OpenLDAP
Commits
c875e72b
Commit
c875e72b
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Fixed slapd substring_comp_candidates null intersection bug (ITS#228)
Fixed slapd modify: delete of last attribute value bug (ITS#229)
parent
6daa8709
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES
+2
-0
2 additions, 0 deletions
CHANGES
servers/slapd/back-ldbm/filterindex.c
+5
-0
5 additions, 0 deletions
servers/slapd/back-ldbm/filterindex.c
servers/slapd/back-ldbm/modify.c
+11
-0
11 additions, 0 deletions
servers/slapd/back-ldbm/modify.c
with
18 additions
and
0 deletions
CHANGES
+
2
−
0
View file @
c875e72b
...
...
@@ -2,6 +2,8 @@ OpenLDAP Change Log
Changes included in OpenLDAP 1.2 Release Engineering
CVS Tag: OPENLDAP_REL_ENG_1_2
Fixed slapd substring_comp_candidates null intersection bug (ITS#228)
Fixed slapd modify: delete of last attribute value bug (ITS#229)
Build environment
Updated Autoconf 2.13 config.guess/config.sub
Don't use "ln -s -f file link" (ITS#227)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-ldbm/filterindex.c
+
5
−
0
View file @
c875e72b
...
...
@@ -345,6 +345,11 @@ substring_comp_candidates(
idl_free
(
tmp
);
idl_free
(
tmp2
);
}
/* break if no candidates */
if
(
idl
==
NULL
)
{
break
;
}
}
Debug
(
LDAP_DEBUG_TRACE
,
"<= substring_comp_candidates %lu
\n
"
,
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-ldbm/modify.c
+
11
−
0
View file @
c875e72b
...
...
@@ -324,6 +324,17 @@ delete_values(
a
->
a_vals
[
k
-
1
]
=
a
->
a_vals
[
k
];
}
a
->
a_vals
[
k
-
1
]
=
NULL
;
/* delete the entire attribute, if no values remain */
if
(
a
->
a_vals
[
0
]
==
NULL
)
{
Debug
(
LDAP_DEBUG_ARGS
,
"removing entire attribute %s
\n
"
,
mod
->
mod_type
,
0
,
0
);
if
(
attr_delete
(
&
e
->
e_attrs
,
mod
->
mod_type
)
)
{
return
LDAP_NO_SUCH_ATTRIBUTE
;
}
}
break
;
}
...
...
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