From a5bf1648c69d316a5df0d45b2f43fc61f071d043 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 11 Jan 2016 20:25:33 +0000 Subject: [PATCH] ITS#8347 fix off-by-one in VL32 purge --- libraries/liblmdb/mdb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5