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

(ITS#4991) pcache and rwm don't play well together

Full_Name: Ralf Haferkamp
Version: RE23, HEAD
OS: Linux (Kernel 2.6)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

The rwm and pcache overlays don't work very well together on a single database.
The main reason for this seems to be that both overlays touch the list of
requested Attributes in a search request and are not prepared for the fact that
other overlays might touch that list as well.
As a result the Entries returned by a Search against such a database can be
incomplete and the server crashes because the various AttributeList arrays are
free'd multiple times (or in the wrong place).
I think I've a fix for HEAD is mostly ready, still testing it. I'll commit it