(ITS#6330) slapd memory leak

Full_Name: Bill MacAllister
Version: 2.4.18
OS: Debian 5.0
URL: http://www.stanford.edu/~whm/files/slapd/readme.html
Submission from: (NULL) (75.26.167.150)
We have observed what we believe to be a memory leak in OpenLDAP 2.4.18 in
testing
while dynlist support. We have a script that randomly expands the member lists
of groups defined using dynlist. Running this script for a period of about 24
hours forces the slapd process to swap.
It is not clear at all that dynlist is the problem because we were not able to
see the problem with our test script until we surrounded each query with a
bind/unbind. (At least we didn't wait long enough to see it.) All queries
perform GSSAPI binds to the directory. The problem is unaffected by using
either the MIT or Heimdal GSSAPI libraries.
Our build of OpenLDAP 2.4.18 follows the debian configuration with the
exceptions:
* Patch for ITS6287
* Patch for ITS6308
* Patch to the index slots
* disable support for tcp_wrappers and disable rlookups
The details of software versions, build options, slapd configuration, scripts,
db_stat output and testing procedures are at
http://www.stanford.edu/~whm/files/slapd/readme.html.