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

Re: (ITS#8109) SEGFAULT mdb_cursor_del mdb_cursor_get(MDB_PREV)



rouzier@gmail.com wrote:
> Full_Name: James Rouzier
> Version: LMDB mdb.master
> OS: linux
> URL: https://gist.github.com/rouzier/2d268a2f24e82e00f498
> Submission from: (NULL) (70.81.32.80)
>
>
> When iterating with a cursor using MDB_PREV and deleting entries using
> mdb_cursor_del.
> It will crash when calling mdb_cursor_get after the last entry was deleted.
> I am using the latest version of LMDB in git.

Thanks for the report, fixed now in git.

-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/