Skip to content
Snippets Groups Projects
Commit 4c6888ca authored by Howard Chu's avatar Howard Chu
Browse files

ITS#2514 fix NULL deref

parent ae9e88a7
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment