https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113159
Jan Engelhardt <jengelh at inai dot de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fweimer at redhat dot com --- Comment #4 from Jan Engelhardt <jengelh at inai dot de> --- >And in upcoming Glibc-2.39 there will be a major reimplementation of qsort Even so, a recent commit strongly suggests that sticking to array bounds remains important: commit b9390ba93676c4b1e87e218af5e7e4bb596312ac Author: Florian Weimer <fwei...@redhat.com> Date: Mon Dec 4 06:35:56 2023 +0100 stdlib: Fix array bounds protection in insertion sort phase of qsort