From: Howard Chu Date: Wed, 31 Aug 2016 23:41:35 +0000 (+0100) Subject: ITS#8489 reset cursor EOF flag in cursor_set X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45a88275d2a410e683bae4ef44881e0f55fa3c4d;p=openldap ITS#8489 reset cursor EOF flag in cursor_set It usually gets done anyway, but one of the fastpath shortcuts bypassed this step. --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index 32f0a5a881..0110402c5b 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -6692,6 +6692,7 @@ mdb_cursor_set(MDB_cursor *mc, MDB_val *key, MDB_val *data, } } rc = 0; + mc->mc_flags &= ~C_EOF; goto set2; } }