https://bugs.openldap.org/show_bug.cgi?id=9678

--- Comment #1 from Ondřej Kuzník <[email protected]> ---
On Fri, Sep 10, 2021 at 07:41:01AM +0000, [email protected] wrote:
> Calling
> ```
> slapadd -n0 -F/home/d/ldap/conf <<ABC
> [...]
> dn: olcDatabase=config,cn=config
> objectClass: olcDatabaseConfig
> olcDatabase: config
> olcRootDN: uid=yyy,cn=users,dc=example,dc=org
> olcRootPW: zzz
> ABC
> ```

Hi Dilian,
thanks for the report.

It seems that config_add_internal calls backend_destroy_one() for the
config backend invalidating the memory for the rest of the run. We check
to make sure we don't free the frontend but we don't check for
cn=config. cn=config doesn't keep a pointer to its BackendDB or
BackendInfo so a fix should find a way around that.

Regards,

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to