mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-12 10:54:48 +08:00
initialize AttributeAssertion before using
This commit is contained in:
parent
993649b4e0
commit
583242c9a3
@ -153,7 +153,7 @@ static int search_aliases(
|
|||||||
Entry *matched, *a;
|
Entry *matched, *a;
|
||||||
EntryInfo *ei;
|
EntryInfo *ei;
|
||||||
struct berval bv_alias = BER_BVC( "alias" );
|
struct berval bv_alias = BER_BVC( "alias" );
|
||||||
AttributeAssertion aa_alias;
|
AttributeAssertion aa_alias = { NULL, BER_BVNULL, NULL };
|
||||||
Filter af;
|
Filter af;
|
||||||
DB_LOCK locka, lockr;
|
DB_LOCK locka, lockr;
|
||||||
int first = 1;
|
int first = 1;
|
||||||
@ -1022,10 +1022,10 @@ static int search_candidates(
|
|||||||
int rc, depth = 1;
|
int rc, depth = 1;
|
||||||
Filter f, rf, xf, nf;
|
Filter f, rf, xf, nf;
|
||||||
ID *stack;
|
ID *stack;
|
||||||
AttributeAssertion aa_ref;
|
AttributeAssertion aa_ref = { NULL, BER_BVNULL, NULL };
|
||||||
#ifdef BDB_SUBENTRIES
|
#ifdef BDB_SUBENTRIES
|
||||||
Filter sf;
|
Filter sf;
|
||||||
AttributeAssertion aa_subentry;
|
AttributeAssertion aa_subentry = { NULL, BER_BVNULL, NULL };
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -47,7 +47,7 @@ do_compare(
|
|||||||
struct berval dn = BER_BVNULL;
|
struct berval dn = BER_BVNULL;
|
||||||
struct berval desc = BER_BVNULL;
|
struct berval desc = BER_BVNULL;
|
||||||
struct berval value = BER_BVNULL;
|
struct berval value = BER_BVNULL;
|
||||||
AttributeAssertion ava = { NULL, BER_BVNULL };
|
AttributeAssertion ava = { NULL, BER_BVNULL, NULL };
|
||||||
|
|
||||||
ava.aa_desc = NULL;
|
ava.aa_desc = NULL;
|
||||||
|
|
||||||
|
@ -1143,7 +1143,7 @@ syncrepl_entry(
|
|||||||
SlapReply rs_add = {REP_RESULT};
|
SlapReply rs_add = {REP_RESULT};
|
||||||
SlapReply rs_modify = {REP_RESULT};
|
SlapReply rs_modify = {REP_RESULT};
|
||||||
Filter f = {0};
|
Filter f = {0};
|
||||||
AttributeAssertion ava = {0};
|
AttributeAssertion ava = { NULL, BER_BVNULL, NULL };
|
||||||
int rc = LDAP_SUCCESS;
|
int rc = LDAP_SUCCESS;
|
||||||
int ret = LDAP_SUCCESS;
|
int ret = LDAP_SUCCESS;
|
||||||
|
|
||||||
@ -1538,7 +1538,7 @@ syncrepl_del_nonpresent(
|
|||||||
|
|
||||||
if ( uuids ) {
|
if ( uuids ) {
|
||||||
Filter uf;
|
Filter uf;
|
||||||
AttributeAssertion eq;
|
AttributeAssertion eq = { NULL, BER_BVNULL, NULL };
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
op->ors_attrsonly = 1;
|
op->ors_attrsonly = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user