From ecc44e229285d111dea83bba77b8db37d695c064 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Mon, 28 Dec 1998 16:41:39 +0000 Subject: [PATCH] matched needs to be initialized to NULL as we may never make it to dn2entry_r(). --- servers/slapd/back-ldbm/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldbm/search.c b/servers/slapd/back-ldbm/search.c index 6ecf5b4abe..438397f441 100644 --- a/servers/slapd/back-ldbm/search.c +++ b/servers/slapd/back-ldbm/search.c @@ -49,7 +49,7 @@ ldbm_back_search( ID id; Entry *e; Attribute *ref; - char *matched; + char *matched = NULL; int rmaxsize, nrefs; char *rbuf, *rcur, *r; int nentries = 0; -- 2.39.5