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
2147c854
Commit
2147c854
authored
Feb 10, 2009
by
Quanah Gibson-Mount
Browse files
ITS#5937
parent
1cfff033
Changes
4
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
2147c854
...
...
@@ -11,6 +11,7 @@ OpenLDAP 2.4.14 Engineering
Fixed libldap peer cert memory leak (ITS#5849)
Fixed libldap interaction with GnuTLS CN IP-based matches (ITS#5789)
Fixed libldap intermediate response behavior (ITS#5896)
Fixed libldap IPv6 address handling (ITS#5937)
Fixed libldap_r deref building (ITS#5768)
Fixed libldap_r slapd lockup when paused during shutdown (ITS#5841)
Added slapd syncrepl default retry setting (ITS#5825)
...
...
libraries/libldap/tls_g.c
View file @
2147c854
...
...
@@ -575,7 +575,7 @@ tlsg_session_chkhost( LDAP *ld, tls_session *session, const char *name_in )
#ifdef LDAP_PF_INET6
if
(
name
[
0
]
==
'['
&&
strchr
(
name
,
']'
))
{
char
*
n2
=
ldap_strdup
(
name
+
1
);
*
strchr
(
n2
,
']'
)
=
2
;
*
strchr
(
n2
,
']'
)
=
0
;
if
(
inet_pton
(
AF_INET6
,
n2
,
&
addr
))
ntype
=
IS_IP6
;
LDAP_FREE
(
n2
);
...
...
libraries/libldap/tls_m.c
View file @
2147c854
...
...
@@ -404,7 +404,7 @@ tlsm_session_chkhost( LDAP *ld, tls_session *session, const char *name_in )
#ifdef LDAP_PF_INET6
if
(
name
[
0
]
==
'['
&&
strchr
(
name
,
']'
))
{
char
*
n2
=
ldap_strdup
(
name
+
1
);
*
strchr
(
n2
,
']'
)
=
2
;
*
strchr
(
n2
,
']'
)
=
0
;
if
(
inet_pton
(
AF_INET6
,
n2
,
&
addr
))
ntype
=
IS_IP6
;
LDAP_FREE
(
n2
);
...
...
libraries/libldap/tls_o.c
View file @
2147c854
...
...
@@ -494,7 +494,7 @@ tlso_session_chkhost( LDAP *ld, tls_session *sess, const char *name_in )
#ifdef LDAP_PF_INET6
if
(
name
[
0
]
==
'['
&&
strchr
(
name
,
']'
))
{
char
*
n2
=
ldap_strdup
(
name
+
1
);
*
strchr
(
n2
,
']'
)
=
2
;
*
strchr
(
n2
,
']'
)
=
0
;
if
(
inet_pton
(
AF_INET6
,
n2
,
&
addr
))
ntype
=
IS_IP6
;
LDAP_FREE
(
n2
);
...
...
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