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

radix_tree: fix upper_bound regression

If the tree contains only a single element smaller than the
looked-for key, radix_tree tried to call make_iterator on nullptr.

This resulted in segfaults in pmemkv tests.

Bug found with the help of UBSAN.
parent 8e5eec1f
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