radix_tree: fix internal find
Fix comparison between n->byte and key.size(). When using pmem::obj::string or inline_string the behavior was ok (since we always have null terminator at the end), but we technically access out-of-range memory which can cause asserts in string_view operator[].
parent
26da8fa7
Please register or sign in to comment