Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | stdlib: Fix array bounds protection in insertion sort phase of qsort | Florian Weimer | 2023-12-04 | 1 | -0/+60 |
The previous check did not do anything because tmp_ptr already points before run_ptr due to the way it is initialized. Fixes commit e4d8117b82065dc72e8df80097360e7c05a349b9 ("stdlib: Avoid another self-comparison in qsort"). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org> |