From 44ed678b18836e44e8626f86f888c1240e839c1f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 15 Mar 2021 10:17:03 +0100 Subject: [PATCH] fix --- source3/passdb/lookup_sid.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source3/passdb/lookup_sid.c b/source3/passdb/lookup_sid.c index 4b3aa7e435d..c49097ce385 100644 --- a/source3/passdb/lookup_sid.c +++ b/source3/passdb/lookup_sid.c @@ -1314,12 +1314,11 @@ bool sids_to_unixids(const struct dom_sid *sids, uint32_t num_sids, */ wbc_ids_size = num_not_cached; - wbc_ids = talloc_array(talloc_tos(), struct wbcUnixId, wbc_ids_size); + wbc_ids = talloc_zero_array(talloc_tos(), struct wbcUnixId, wbc_ids_size); if (wbc_ids == NULL) { goto fail; } for (i=0; i