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
Howard Chu
OpenLDAP
Commits
4b3bb050
Commit
4b3bb050
authored
22 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Plug some memory leaks and prepare for release.
parent
1e29d51b
No related branches found
Branches containing commit
Tags
OPENLDAP_REL_ENG_2_1_16
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGES
+5
-4
5 additions, 4 deletions
CHANGES
build/version.sh
+4
-4
4 additions, 4 deletions
build/version.sh
servers/slapd/mr.c
+1
-0
1 addition, 0 deletions
servers/slapd/mr.c
servers/slapd/root_dse.c
+17
-8
17 additions, 8 deletions
servers/slapd/root_dse.c
with
27 additions
and
16 deletions
CHANGES
+
5
−
4
View file @
4b3bb050
OpenLDAP 2.1 Change Log
OpenLDAP 2.1.16
Engineering
Fixed slapd
modify mem leak
OpenLDAP 2.1.16
Release
Fixed slapd
sasl internal search "auth" issue
Fixed liblber BER decoding bug (ITS#2365)
Fixed slurpd TLS failure handling (ITS#2253)
Fixed slapd sasl internal search "auth" issue
Fixed back-meta NULL deref bug (ITS#2359)
Fixed back-ldap memory corruption (ITS#2362)
Updated back-perl
Fixed back-bdb IDL cache leak (ITS#2367)
Fixed slapd index large db files bug (ITS#2368)
Updated back-perl (ITS#2356)
Removed ldaptcl from distribution
Removed lint
Build Environment
...
...
This diff is collapsed.
Click to expand it.
build/version.sh
+
4
−
4
View file @
4b3bb050
...
...
@@ -7,10 +7,10 @@
ol_package
=
OpenLDAP
ol_major
=
2
ol_minor
=
1
ol_patch
=
X
ol_api_inc
=
2011
5
ol_api_lib
=
2:11
5
:0
ol_release_date
=
"03-
09
-2003"
ol_patch
=
16
ol_api_inc
=
2011
6
ol_api_lib
=
2:11
6
:0
ol_release_date
=
"03-
15
-2003"
if
test
$ol_patch
!=
X
;
then
ol_version
=
${
ol_major
}
.
${
ol_minor
}
.
${
ol_patch
}
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/mr.c
+
1
−
0
View file @
4b3bb050
...
...
@@ -84,6 +84,7 @@ mr_destroy( void )
m
=
LDAP_SLIST_FIRST
(
&
mr_list
);
LDAP_SLIST_REMOVE_HEAD
(
&
mr_list
,
smr_next
);
ch_free
(
m
->
smr_str
.
bv_val
);
ch_free
(
m
->
smr_compat_syntaxes
);
ldap_matchingrule_free
((
LDAPMatchingRule
*
)
m
);
}
}
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/root_dse.c
+
17
−
8
View file @
4b3bb050
...
...
@@ -226,6 +226,7 @@ int read_root_dse_file( const char *fname )
Debug
(
LDAP_DEBUG_ANY
,
"read_root_dse_file: SLAP_CALLOC failed"
,
0
,
0
,
0
);
#endif
fclose
(
fp
);
return
LDAP_OTHER
;
}
usr_attr
->
e_attrs
=
NULL
;
...
...
@@ -237,9 +238,8 @@ int read_root_dse_file( const char *fname )
if
(
e
==
NULL
)
{
fprintf
(
stderr
,
"root_dse: could not parse entry (line=%d)
\n
"
,
lineno
);
entry_free
(
usr_attr
);
usr_attr
=
NULL
;
return
EXIT_FAILURE
;
rc
=
EXIT_FAILURE
;
break
;
}
/* make sure the DN is the empty DN */
...
...
@@ -248,9 +248,8 @@ int read_root_dse_file( const char *fname )
"root_dse: invalid rootDSE - dn=
\"
%s
\"
(line=%d)
\n
"
,
e
->
e_dn
,
lineno
);
entry_free
(
e
);
entry_free
(
usr_attr
);
usr_attr
=
NULL
;
return
EXIT_FAILURE
;
rc
=
EXIT_FAILURE
;
break
;
}
/*
...
...
@@ -260,15 +259,25 @@ int read_root_dse_file( const char *fname )
*/
for
(
a
=
e
->
e_attrs
;
a
!=
NULL
;
a
=
a
->
a_next
)
{
if
(
attr_merge
(
usr_attr
,
a
->
a_desc
,
a
->
a_vals
)
)
return
LDAP_OTHER
;
if
(
attr_merge
(
usr_attr
,
a
->
a_desc
,
a
->
a_vals
)
)
{
rc
=
LDAP_OTHER
;
break
;
}
}
entry_free
(
e
);
if
(
rc
)
break
;
}
if
(
rc
)
{
entry_free
(
usr_attr
);
usr_attr
=
NULL
;
}
ch_free
(
buf
);
fclose
(
fp
);
Debug
(
LDAP_DEBUG_CONFIG
,
"rootDSE file %s read.
\n
"
,
fname
,
0
,
0
);
return
rc
;
}
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