mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#8743 Initialise the metafilter we allocate
This commit is contained in:
parent
7ca538ff87
commit
5957cbb660
@ -2220,7 +2220,7 @@ meta_back_cf_gen( ConfigArgs *c )
|
||||
|
||||
case LDAP_BACK_CFG_FILTER: {
|
||||
metafilter_t *mf, **m2;
|
||||
mf = ch_malloc( sizeof( metafilter_t ));
|
||||
mf = ch_calloc( 1, sizeof( metafilter_t ));
|
||||
rc = regcomp( &mf->mf_regex, c->argv[1], REG_EXTENDED );
|
||||
if ( rc ) {
|
||||
char regerr[ SLAP_TEXT_BUFLEN ];
|
||||
|
Loading…
Reference in New Issue
Block a user