mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-10 14:23:34 -05:00
ITS#10436 Fix sometimes uninitialised variables
This commit is contained in:
parent
3fff1e7256
commit
7e10a4a62f
2 changed files with 1 additions and 3 deletions
|
|
@ -2016,7 +2016,7 @@ meta_send_entry(
|
|||
Entry ent = { 0 };
|
||||
BerElement ber = *ldap_get_message_ber( e );
|
||||
Attribute *attr, **attrp;
|
||||
LDAPControl **res_ctrls;
|
||||
LDAPControl **res_ctrls = NULL;
|
||||
struct berval bdn,
|
||||
dn = BER_BVNULL;
|
||||
const char *text;
|
||||
|
|
|
|||
|
|
@ -1504,7 +1504,6 @@ out:
|
|||
int slap_sasl_regexp_config( const char *match, const char *replace, int valx )
|
||||
{
|
||||
int i, rc;
|
||||
SaslRegexp_t sr;
|
||||
struct rewrite_info *rw = NULL;
|
||||
|
||||
if ( valx < 0 || valx > nSaslRegexp )
|
||||
|
|
@ -1529,7 +1528,6 @@ int slap_sasl_regexp_config( const char *match, const char *replace, int valx )
|
|||
SaslRegexp[i] = SaslRegexp[i - 1];
|
||||
}
|
||||
|
||||
SaslRegexp[i] = sr;
|
||||
SaslRegexp[i].sr_match = ch_strdup( match );
|
||||
SaslRegexp[i].sr_replace = ch_strdup( replace );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue