mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
Fix another segfault.
Michael
This commit is contained in:
parent
10a8cf19d6
commit
a5d2a6fc40
@ -691,7 +691,9 @@ BOOL get_trust_pw_clear(const char *domain, char **ret_pwd,
|
||||
return False;
|
||||
}
|
||||
|
||||
*channel = SEC_CHAN_DOMAIN;
|
||||
if (channel != NULL) {
|
||||
*channel = SEC_CHAN_DOMAIN;
|
||||
}
|
||||
|
||||
if (account_name != NULL) {
|
||||
*account_name = lp_workgroup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user