diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-12-04 06:35:56 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-12-04 06:35:56 +0100 |
commit | b9390ba93676c4b1e87e218af5e7e4bb596312ac (patch) | |
tree | f694a007f883e7234e2f698b3f508a9cf1f9a600 /elf/ifuncmain1staticpic.c | |
parent | d776a59723b22192d33557d2127e13cb31905382 (diff) | |
download | glibc-b9390ba93676c4b1e87e218af5e7e4bb596312ac.zip glibc-b9390ba93676c4b1e87e218af5e7e4bb596312ac.tar.gz glibc-b9390ba93676c4b1e87e218af5e7e4bb596312ac.tar.bz2 |
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 e4d8117b82065dc72e8df80097360e7c05a349b9
("stdlib: Avoid another self-comparison in qsort").
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'elf/ifuncmain1staticpic.c')
0 files changed, 0 insertions, 0 deletions