]> git.sur5r.net Git - openldap/commit
ITS#7705,#7800 fix back-mdb pagedResults search
authorHoward Chu <hyc@openldap.org>
Fri, 16 May 2014 03:46:20 +0000 (20:46 -0700)
committerHoward Chu <hyc@openldap.org>
Fri, 16 May 2014 04:06:17 +0000 (21:06 -0700)
commit437f21b16e162342e046e27b69a32f6ac8b0ef9e
tree2e1fd58e4a54065e6042977d27e58e80404d933f
parent141f16809381c0ba58ff8af0008370360c6c2004
ITS#7705,#7800 fix back-mdb pagedResults search

mdb_idscopes was remembering the IDs of every entry it checked;
it should only have been saving the IDs of entries that were
actually in the search scope. The extra entries filled the scopes
array, causing a loop searching for a parent entry that was
never inserted.
servers/slapd/back-mdb/dn2id.c
servers/slapd/back-mdb/idl.h
servers/slapd/back-mdb/search.c