git.samba.org
/
kseeger
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ceccb61
)
s4:winbind: Add a missing no memory check
author
Andreas Schneider
<asn@samba.org>
Mon, 11 Jan 2021 15:27:48 +0000
(16:27 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 28 Apr 2021 03:43:34 +0000
(
03:43
+0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/winbind/winbindd.c
patch
|
blob
|
history
diff --git
a/source4/winbind/winbindd.c
b/source4/winbind/winbindd.c
index a3d536901bd1d4509ff3c199bede5c0abe50bf9a..0811d13fa1a6678b8ac5d1e55fc171e5b829d620 100644
(file)
--- a/
source4/winbind/winbindd.c
+++ b/
source4/winbind/winbindd.c
@@
-63,6
+63,9
@@
static NTSTATUS winbindd_task_init(struct task_server *task)
task_server_set_title(task, "task[winbindd_parent]");
winbindd_path = talloc_asprintf(task, "%s/winbindd", dyn_SBINDIR);
+ if (winbindd_path == NULL) {
+ return NT_STATUS_NO_MEMORY;
+ }
winbindd_cmd[0] = winbindd_path;
/* start it as a child process */