From: Howard Chu Date: Mon, 11 Jan 2016 20:25:33 +0000 (+0000) Subject: ITS#8347 fix off-by-one in VL32 purge X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a5bf1648c69d316a5df0d45b2f43fc61f071d043;p=openldap ITS#8347 fix off-by-one in VL32 purge --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index bd129c4c2d..1991f01da3 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -5766,7 +5766,7 @@ notlocal: pthread_mutex_lock(&env->me_rpmutex); retry: y = 0; - for (i=1; i= MDB_ERPAGE_MAX - env->me_rpcheck) { /* purge unref'd pages */ unsigned i, y = 0; - for (i=1; ime_psize * el[i].mcnt);