Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
dd81a020
Commit
dd81a020
authored
Jan 04, 2011
by
Quanah Gibson-Mount
Browse files
op->o_conn->c_sb may be 0 for internal operations
parent
da44557a
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/bind.c
View file @
dd81a020
...
...
@@ -418,7 +418,8 @@ fe_op_bind_success( Operation *op, SlapReply *rs )
ber_dupbv
(
&
op
->
o_conn
->
c_ndn
,
&
op
->
o_req_ndn
);
if
(
!
BER_BVISEMPTY
(
&
op
->
o_conn
->
c_dn
)
)
{
/* op->o_conn->c_sb may be 0 for internal operations */
if
(
!
BER_BVISEMPTY
(
&
op
->
o_conn
->
c_dn
)
&&
op
->
o_conn
->
c_sb
!=
0
)
{
ber_len_t
max
=
sockbuf_max_incoming_auth
;
ber_sockbuf_ctrl
(
op
->
o_conn
->
c_sb
,
LBER_SB_OPT_SET_MAX_INCOMING
,
&
max
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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