Commit 51cb8afb authored by Igor Chorążewicz's avatar Igor Chorążewicz
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment