summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2010-06-07 10:03:50 +0200
committerAndreas Schneider <asn@samba.org>2010-06-28 10:18:12 +0200
commita81b97ff340e021c3d2a7ddfe44ec09cc2b9f0d5 (patch)
tree7fca8689d75c61e6ea961c0f39d099e989eca7de /source3
parentdc2e41a16ab5c203d73bfc6e9f368820221ee3ea (diff)
downloadsamba-a81b97ff340e021c3d2a7ddfe44ec09cc2b9f0d5.tar.gz
samba-a81b97ff340e021c3d2a7ddfe44ec09cc2b9f0d5.tar.bz2
samba-a81b97ff340e021c3d2a7ddfe44ec09cc2b9f0d5.zip
s3-passdb: Make sure that we don't assign garbage.
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/lookup_sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c
index d523055b9d..9a5edcfa3a 100644
--- a/source3/passdb/lookup_sid.c
+++ b/source3/passdb/lookup_sid.c
@@ -779,7 +779,7 @@ NTSTATUS lookup_sids(TALLOC_CTX *mem_ctx, int num_sids,
for (i=0; i<num_sids; i++) {
struct dom_sid sid;
- uint32 rid;
+ uint32_t rid = 0;
const char *domain_name = NULL;
sid_copy(&sid, sids[i]);