matched needs to be initialized to NULL as we may never

make it to dn2entry_r().
This commit is contained in:
Kurt Zeilenga 1998-12-28 16:41:39 +00:00
parent dacc0bfc7d
commit ecc44e2292

View file

@ -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;