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

(ITS#3940) deadlock using paged results



Full_Name: Luke Howard
Version: 2.3-devel
OS: Linux
URL: http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-bdb/search.c.diff?r1=1.237&r2=1.238&hideattic=1&sortbydate=0
Submission from: (NULL) (203.13.32.92)


See:

http://www.openldap.org/devel/cvsweb.cgi/servers/slapd/back-bdb/search.c.diff?r1=1.237&r2=1.238&hideattic=1&sortbydate=0

When send_paged_response() is called, the entry is not returned to the cache, so
there will be a dangling read lock.

The patch below (committed to HEAD) may not be optimal.

-- Luke