Skip to content
Commit e4d8117b authored by Florian Weimer's avatar Florian Weimer
Browse files

stdlib: Avoid another self-comparison in qsort



In the insertion phase, we could run off the start of the array if the
comparison function never runs zero.  In that case, it never finds the
initial element that terminates the iteration.

Reviewed-by: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent dd858522
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment