Commit bc68b6fa authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

matched_dn may be null

parent 102cb932
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment