From b56d64a0e69054a39965ac71ee963d4c0d3b1d68 Mon Sep 17 00:00:00 2001 From: Douglas Bagnall Date: Fri, 11 Dec 2020 16:32:25 +1300 Subject: [PATCH 2/2] fix for ldb_dn_explode crash I think this is all we need. Signed-off-by: Douglas Bagnall --- lib/ldb/common/ldb_dn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ldb/common/ldb_dn.c b/lib/ldb/common/ldb_dn.c index 001fcad621f..cce5ad5b2ff 100644 --- a/lib/ldb/common/ldb_dn.c +++ b/lib/ldb/common/ldb_dn.c @@ -570,6 +570,7 @@ static bool ldb_dn_explode(struct ldb_dn *dn) /* trim back */ d -= (p - t); l -= (p - t); + t = NULL; } in_attr = true; -- 2.25.1