mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
ITS#2514 fix NULL deref
This commit is contained in:
parent
ae9e88a78a
commit
4c6888cada
1 changed files with 4 additions and 4 deletions
|
|
@ -80,11 +80,11 @@ dn2entry_retry:
|
|||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG ( OPERATION, DETAIL1,
|
||||
"bdb_referrals: op=%ld target=\"%s\" matched=\"%s\"\n",
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, rs->sr_matched );
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"bdb_referrals: op=%ld target=\"%s\" matched=\"%s\"\n",
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, rs->sr_matched );
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val );
|
||||
#endif
|
||||
|
||||
if( is_entry_referral( e ) ) {
|
||||
|
|
@ -133,11 +133,11 @@ dn2entry_retry:
|
|||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG ( OPERATION, DETAIL1,
|
||||
"bdb_referrals: op=%ld target=\"%s\" matched=\"%s\"\n",
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, e->e_dn );
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val );
|
||||
#else
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
"bdb_referrals: op=%ld target=\"%s\" matched=\"%s\"\n",
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, e->e_dn );
|
||||
(long) op->o_tag, op->o_req_dn.bv_val, e->e_name.bv_val );
|
||||
#endif
|
||||
|
||||
rs->sr_matched = e->e_name.bv_val;
|
||||
|
|
|
|||
Loading…
Reference in a new issue