mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 09:39:45 -05:00
Fix saslregex init bug
This commit is contained in:
parent
7bc35541e4
commit
e69c9067c2
1 changed files with 2 additions and 0 deletions
|
|
@ -199,6 +199,8 @@ int slap_sasl_regexp_config( const char *match, const char *replace )
|
|||
SaslRegexp = (SaslRegexp_t *) ch_realloc( (char *) SaslRegexp,
|
||||
(nSaslRegexp + 1) * sizeof(SaslRegexp_t) );
|
||||
|
||||
reg = &SaslRegexp[nSaslRegexp];
|
||||
|
||||
reg->sr_match = ch_strdup( match );
|
||||
reg->sr_replace = ch_strdup( replace );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue