Skip to content

Correct the comparision used so that lower/upper bounds work

The comparision function did not work properly. Give it the length of the expected key, and do not require the a specific input to the comparision to be the search key.

This had caused issues where the key was not in the expected argument, allowing strings that were shorter than the key length to be selected as output.

Merge request reports