mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
r19008: Fix a segfault
This commit is contained in:
parent
d0658139a3
commit
adfc82f0e6
@ -1200,6 +1200,7 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,
|
||||
|
||||
num_group_sids = 1;
|
||||
group_sids = &primary_group_sid;
|
||||
gids = gid;
|
||||
|
||||
*found_username = talloc_strdup(mem_ctx, username);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user