summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-02-26 12:52:28 +0100
committerVolker Lendecke <vl@samba.org>2019-02-28 12:57:23 +0000
commit8c28c12702c0935a852c7fed6565987623f09fee (patch)
treea37182aebff3f86736f31c11c4654f4ceb367c99 /source3/winbindd
parent4faf3e9f6da7515fc263d79f77226d105c2f8524 (diff)
downloadsamba-8c28c12702c0935a852c7fed6565987623f09fee.tar.gz
winbind: Initialize "expired" parameter to idmap_cache_xid2sid
The code in idmap_cache only touches its output parameters upon success Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org> Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/wb_xids2sids.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/wb_xids2sids.c b/source3/winbindd/wb_xids2sids.c
index 9e622529c17..386ac3ef0ed 100644
--- a/source3/winbindd/wb_xids2sids.c
+++ b/source3/winbindd/wb_xids2sids.c
@@ -466,7 +466,7 @@ struct tevent_req *wb_xids2sids_send(TALLOC_CTX *mem_ctx,
for (i=0; i<num_xids; i++) {
struct dom_sid sid = {0};
- bool ok, expired;
+ bool ok, expired = true;
switch (xids[i].type) {
case ID_TYPE_UID: