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
6dc360a1
Commit
6dc360a1
authored
Dec 12, 2010
by
Quanah Gibson-Mount
Browse files
ITS#6585
parent
0579cc86
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
6dc360a1
OpenLDAP 2.4 Change Log
OpenLDAP 2.4.24 Engineering
Fixed liblber to not close invalid sockets (ITS#6585)
Fixed slapd modify to return actual error (ITS#6581)
Fixed slapd-bdb entry cache delete failure (ITS#6577)
...
...
libraries/liblber/sockbuf.c
View file @
6dc360a1
...
...
@@ -541,7 +541,8 @@ sb_stream_close( Sockbuf_IO_Desc *sbiod )
{
assert
(
sbiod
!=
NULL
);
assert
(
SOCKBUF_VALID
(
sbiod
->
sbiod_sb
)
);
tcp_close
(
sbiod
->
sbiod_sb
->
sb_fd
);
if
(
sbiod
->
sbiod_sb
->
sb_fd
!=
AC_SOCKET_INVALID
)
tcp_close
(
sbiod
->
sbiod_sb
->
sb_fd
);
return
0
;
}
...
...
@@ -754,7 +755,8 @@ sb_fd_close( Sockbuf_IO_Desc *sbiod )
assert
(
sbiod
!=
NULL
);
assert
(
SOCKBUF_VALID
(
sbiod
->
sbiod_sb
)
);
close
(
sbiod
->
sbiod_sb
->
sb_fd
);
if
(
sbiod
->
sbiod_sb
->
sb_fd
!=
AC_SOCKET_INVALID
)
close
(
sbiod
->
sbiod_sb
->
sb_fd
);
return
0
;
}
...
...
@@ -956,8 +958,9 @@ sb_dgram_close( Sockbuf_IO_Desc *sbiod )
{
assert
(
sbiod
!=
NULL
);
assert
(
SOCKBUF_VALID
(
sbiod
->
sbiod_sb
)
);
tcp_close
(
sbiod
->
sbiod_sb
->
sb_fd
);
if
(
sbiod
->
sbiod_sb
->
sb_fd
!=
AC_SOCKET_INVALID
)
tcp_close
(
sbiod
->
sbiod_sb
->
sb_fd
);
return
0
;
}
...
...
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