mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
copy username, much like other string-valued options (more about ITS#6257)
This commit is contained in:
parent
f52273fe84
commit
ba2bddafbd
1 changed files with 1 additions and 1 deletions
|
|
@ -1035,7 +1035,7 @@ ldap_int_sasl_get_option( LDAP *ld, int option, void *arg )
|
|||
return -1;
|
||||
}
|
||||
|
||||
*(char **)arg = username;
|
||||
*(char **)arg = username ? LDAP_STRDUP( username ) : NULL;
|
||||
} break;
|
||||
|
||||
case LDAP_OPT_X_SASL_SECPROPS:
|
||||
|
|
|
|||
Loading…
Reference in a new issue