git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c3d4df
)
s3:idmap_tdb: properly initialize the idmap_tdb context with zero
author
Michael Adam
<obnox@samba.org>
Tue, 22 Jun 2010 07:01:32 +0000
(09:01 +0200)
committer
Michael Adam
<obnox@samba.org>
Sat, 14 Aug 2010 00:10:52 +0000
(
02:10
+0200)
source3/winbindd/idmap_tdb.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_tdb.c
b/source3/winbindd/idmap_tdb.c
index 8bb615d8f8ddcdb3c8b72200ba397076a6a3dcbe..605bc59328c1294cea63b00c8266b046880d334a 100644
(file)
--- a/
source3/winbindd/idmap_tdb.c
+++ b/
source3/winbindd/idmap_tdb.c
@@
-484,7
+484,7
@@
static NTSTATUS idmap_tdb_db_init(struct idmap_domain *dom, const char *params)
DEBUG(10, ("idmap_tdb_db_init called for domain '%s'\n", dom->name));
- ctx = talloc(dom, struct idmap_tdb_context);
+ ctx = talloc
_zero
(dom, struct idmap_tdb_context);
if ( ! ctx) {
DEBUG(0, ("Out of memory!\n"));
return NT_STATUS_NO_MEMORY;