1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00

file_server: Add a missing no memory check

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andreas Schneider 2021-01-11 16:24:00 +01:00 committed by Andrew Bartlett
parent 0e6e5f9c3a
commit d45eddb585

View File

@ -62,6 +62,9 @@ static NTSTATUS s3fs_task_init(struct task_server *task)
task_server_set_title(task, "task[s3fs_parent]");
smbd_path = talloc_asprintf(task, "%s/smbd", dyn_SBINDIR);
if (smbd_path == NULL) {
return NT_STATUS_NO_MEMORY;
}
smbd_cmd[0] = smbd_path;
/* the child should be able to call through nss_winbind */