Bucket_rangeSearch(): If the min key passed in was larger than the max key
passed in, it was quite possible for this to return *low > *high, and the caller could crash due to trying to create a list with "negative length". Changed the routine to consider a range empty if min>max on input, and added test cases that fail before this patch.
Showing
Please register or sign in to comment