stdlib: Fix array bounds protection in insertion sort phase of qsort
The previous check did not do anything because tmp_ptr already points before run_ptr due to the way it is initialized. Fixes commit e4d8117b ("stdlib: Avoid another self-comparison in qsort"). Reviewed-by:Adhemerval Zanella <adhemerval.zanella@linaro.org>
Loading
Please register or sign in to comment