[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#8190) LMDB cursor bug



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.