[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4140) chain overlay may leak resources and suffer from concurrency issues

ando@sys-net.it wrote:
> Full_Name: Pierangelo Masarati
> Version: HEAD, re23
> OS: irrelevant
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> Submitted by: ando
> In some cases, the chain overlay uses an automatic ldapinfo structure, which is
> a copy of the original one except for the url.  This results in (at least)
> leaking connections in the connection tree; it may also result in a corrupted
> AVL tree and even worse, because mutex locking occurs on copies of the mutexes
> and so.

Ugh. We need to separate out the per-URL info from the overall backend 
configuration so we can safely manage multiple URLs in back-ldap.

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/