summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-08-14 14:58:30 -0600
committerCharles Harris <charlesr.harris@gmail.com>2016-08-15 10:36:51 -0600
commit3984786326f7113de71e7357a766ce74ca2e5cdc (patch)
treefc54c5c6f79ebcc5cb58f79a64fdfc4b03ce25db /numpy/lib/utils.py
parente1f191c46f2eebd6cb892a4bfe14d9dd43a06c4e (diff)
downloadnumpy-3984786326f7113de71e7357a766ce74ca2e5cdc.tar.gz
BUG: Guard against buggy comparisons in generic quicksort.
Generic types may have buggy comparison operators in which case the sentinal values in quicksort cannot be counted on to keep the pointers from running off the ends of the array. The solution here is to explicitly check that the pointers are in bounds when sorting generic types. Closes #7934.
Diffstat (limited to 'numpy/lib/utils.py')
0 files changed, 0 insertions, 0 deletions