From: Garming Sam Date: Thu, 21 Jul 2016 22:56:07 +0000 (+1200) Subject: AddressSanitizer: Initialize for kcc_topology.c X-Git-Tag: tdb-1.3.10~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1f4d9355a2bd19bb179df6ea239becb424e949da;p=thirdparty%2Fsamba.git AddressSanitizer: Initialize for kcc_topology.c Signed-off-by: Garming Sam Reviewed-by: Volker Lendecke --- 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;