diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-11-21 16:45:35 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-11-21 16:45:47 +0100 |
commit | e4d8117b82065dc72e8df80097360e7c05a349b9 (patch) | |
tree | 6874c1f8d0da6e199a725d03df8f1b46f7f04bef /stdlib/strtold_nan.c | |
parent | dd858522bf36ae16496ea01ff8b65e16b4e5c22b (diff) | |
download | glibc-e4d8117b82065dc72e8df80097360e7c05a349b9.tar.gz glibc-e4d8117b82065dc72e8df80097360e7c05a349b9.tar.xz glibc-e4d8117b82065dc72e8df80097360e7c05a349b9.zip |
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: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'stdlib/strtold_nan.c')
0 files changed, 0 insertions, 0 deletions