git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8884e1
)
fix bogus "out of memory" winbind msg
author
Volker Lendecke
<vl@samba.org>
Wed, 13 May 2009 08:12:26 +0000
(10:12 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 13 Nov 2009 10:36:06 +0000
(11:36 +0100)
Signed-off-by: Michael Adam <obnox@samba.org>
source3/rpc_client/cli_lsarpc.c
patch
|
blob
|
history
diff --git
a/source3/rpc_client/cli_lsarpc.c
b/source3/rpc_client/cli_lsarpc.c
index d49fa47f57a3cf0b8f4abee6f466134e74202e9a..74fd08276c35e45b67bcff2fe7bdd5d01dbd660e 100644
(file)
--- a/
source3/rpc_client/cli_lsarpc.c
+++ b/
source3/rpc_client/cli_lsarpc.c
@@
-232,7
+232,8
@@
static NTSTATUS rpccli_lsa_lookup_sids_noalloc(struct rpc_pipe_client *cli,
} else {
(names)[i] = NULL;
}
- (domains)[i] = talloc_strdup(mem_ctx, dom_name);
+ domains[i] = talloc_strdup(
+ mem_ctx, dom_name ? dom_name : "");
(types)[i] = lsa_names.names[i].sid_type;
if (((domains)[i] == NULL)) {
DEBUG(0, ("cli_lsa_lookup_sids_noalloc(): out of memory\n"));