Issue 8190 - LMDB cursor bug
Summary: LMDB cursor bug
Status: VERIFIED FIXED
Alias: None
Product: LMDB
Classification: Unclassified
Component: liblmdb (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-07 12:41 UTC by Howard Chu
Modified: 2020-03-12 15:55 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Howard Chu 2015-07-07 12:41:33 UTC
Full_Name: Howard Chu
Version: LMDB 0.9.15
OS: 
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (78.155.234.0)
Submitted by: hyc


In mdb_cursor_set(SET_RANGE) a call to mdb_cursor_sibling is used if the
matching key wasn't found on the current page. If this call fails, the EOF flag
should be set on the cursor but isn't. Subsequent attempts to call
mdb_cursor_next() will read garbage data. A fix is coming shortly.
Comment 1 Howard Chu 2015-07-09 17:42:33 UTC
changed notes
changed state Open to Test
moved from Incoming to Software Bugs
Comment 2 Howard Chu 2015-07-28 14:16:35 UTC
changed notes
Comment 3 OpenLDAP project 2015-07-28 14:17:21 UTC
fixed in mdb.master, mdb.RE/0.9, master
Comment 4 Howard Chu 2015-07-28 14:17:21 UTC
changed notes
Comment 5 Quanah Gibson-Mount 2015-07-28 16:06:36 UTC
changed state Test to Release
Comment 6 Quanah Gibson-Mount 2015-08-18 17:41:44 UTC
changed state Release to Closed