Commit 4d845ef2 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Resolves UD crash when binding with incorrect passwords.

Fix suggested by Hallvard Furuseth <h.b.furuseth@usit.uio.no>.
parent 32bae0e7
......@@ -429,5 +429,5 @@ char *s;
if (bound_dn != NULL)
Free(bound_dn);
bound_dn = strdup(s);
bound_dn = (s == NULL) ? NULL : strdup(s);
}
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