From 1f4d9355a2bd19bb179df6ea239becb424e949da Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Fri, 22 Jul 2016 10:56:07 +1200 Subject: [PATCH] AddressSanitizer: Initialize for kcc_topology.c Signed-off-by: Garming Sam Reviewed-by: Volker Lendecke --- source4/dsdb/kcc/kcc_topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/kcc/kcc_topology.c b/source4/dsdb/kcc/kcc_topology.c index 43685ecb8e4..cd4dcc55495 100644 --- a/source4/dsdb/kcc/kcc_topology.c +++ b/source4/dsdb/kcc/kcc_topology.c @@ -496,7 +496,7 @@ static NTSTATUS kcctpl_create_graph(TALLOC_CTX *mem_ctx, struct GUID_list guids, struct kcctpl_graph **_graph) { - struct kcctpl_graph *graph; + struct kcctpl_graph *graph = NULL; uint32_t i; graph = talloc_zero(mem_ctx, struct kcctpl_graph); @@ -3470,7 +3470,7 @@ static NTSTATUS kcctpl_create_intersite_connections(struct kccsrv_service *servi struct ldb_message *cross_ref; unsigned int cr_enabled; int64_t cr_flags; - struct kcctpl_graph *graph; + struct kcctpl_graph *graph = NULL; bool found_failed_dc, connected; NTSTATUS status; -- 2.47.3