mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 22:33:07 -05:00
op->o_conn->c_sb may be 0 for internal operations
This commit is contained in:
parent
a1a5affeb0
commit
7443e6fc8c
1 changed files with 2 additions and 1 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue