mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 16:22:53 -05:00
Resolves UD crash when binding with incorrect passwords.
Fix suggested by Hallvard Furuseth <h.b.furuseth@usit.uio.no>.
This commit is contained in:
parent
32bae0e72d
commit
4d845ef221
1 changed files with 1 additions and 1 deletions
|
|
@ -429,5 +429,5 @@ char *s;
|
|||
|
||||
if (bound_dn != NULL)
|
||||
Free(bound_dn);
|
||||
bound_dn = strdup(s);
|
||||
bound_dn = (s == NULL) ? NULL : strdup(s);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue