[Issue 10522] New: Heap-buffer-overflow in mdb_cursor_last