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:
parent
0e6e5f9c3a
commit
d45eddb585
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user