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:
05d7524
)
s3:winbindd: fix query_user_list for users with NULL full_name
author
Michael Adam
<obnox@samba.org>
Mon, 1 Nov 2010 11:31:34 +0000
(12:31 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 1 Nov 2010 12:21:30 +0000
(12:21 +0000)
source3/winbindd/winbindd_rpc.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd_rpc.c
b/source3/winbindd/winbindd_rpc.c
index 88b19962582e329260931dcabe73b66894286d00..0b101e474469d9efae534fe9e57b7b729fe90ed7 100644
(file)
--- a/
source3/winbindd/winbindd_rpc.c
+++ b/
source3/winbindd/winbindd_rpc.c
@@
-109,7
+109,9
@@
NTSTATUS rpc_query_user_list(TALLOC_CTX *mem_ctx,
}
dst->full_name = talloc_strdup(info, src->full_name.string);
- if (dst->full_name == NULL) {
+ if ((src->full_name.string != NULL) &&
+ (dst->full_name == NULL))
+ {
return NT_STATUS_NO_MEMORY;
}