]> 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)
committerQuanah Gibson-Mount <quanah@openldap.org>
Thu, 29 May 2014 17:52:34 +0000 (12:52 -0500)
commitcb7405ae5cbe2b4b0d29bd376db27c7d56048261
tree792e4229816a74cb7598bf410f0cfbd808c822df
parent348b24b43260b0f2b75da525429067abb8627deb
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