git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6499a2d
)
idmap: Initialize struct idmap_ad_context
author
Volker Lendecke
<vl@samba.org>
Tue, 7 Mar 2023 15:08:18 +0000
(16:08 +0100)
committer
Ralph Boehme
<slow@samba.org>
Wed, 29 Mar 2023 17:55:50 +0000
(17:55 +0000)
We'll add another pointer next that should be initialized to NULL
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/winbindd/idmap_ad.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_ad.c
b/source3/winbindd/idmap_ad.c
index d08052e8a971685f31139133dc8a938cc6867eae..58793162d28296f57fd0dbe42fb55d38ba7a8a66 100644
(file)
--- a/
source3/winbindd/idmap_ad.c
+++ b/
source3/winbindd/idmap_ad.c
@@
-444,7
+444,7
@@
static NTSTATUS idmap_ad_context_create(TALLOC_CTX *mem_ctx,
NTSTATUS status;
TLDAPRC rc;
- ctx = talloc(mem_ctx, struct idmap_ad_context);
+ ctx = talloc
_zero
(mem_ctx, struct idmap_ad_context);
if (ctx == NULL) {
return NT_STATUS_NO_MEMORY;
}