mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
matched_dn may be null
This commit is contained in:
parent
102cb93220
commit
bc68b6faa7
1 changed files with 2 additions and 1 deletions
|
|
@ -117,7 +117,8 @@ ldbm_back_search(
|
|||
}
|
||||
|
||||
send_ldap_result( conn, op, err,
|
||||
matched_dn->bv_val, text, refs, NULL );
|
||||
matched_dn ? matched_dn->bv_val : NULL,
|
||||
text, refs, NULL );
|
||||
|
||||
ber_bvecfree( refs );
|
||||
ber_bvfree( matched_dn );
|
||||
|
|
|
|||
Loading…
Reference in a new issue