Skip to content
Snippets Groups Projects
Commit f26a0e0d authored by Luke Howard's avatar Luke Howard
Browse files

Don't pass NULL DN to rewrite_session(), causes assertion failure

(Howard might like to check that this is the correct fix)
parent 7cb94692
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ ldap_back_dn_massage(
{
int rc = 0;
switch (rewrite_session( dc->rwmap->rwm_rw, dc->ctx, dn->bv_val, dc->conn,
switch (rewrite_session( dc->rwmap->rwm_rw, dc->ctx, (dn->bv_len ? dn->bv_val : ""), dc->conn,
&res->bv_val )) {
case REWRITE_REGEXEC_OK:
if ( res->bv_val != NULL ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment