* scandir qsort usage
@ 2025-07-12 14:50 Rich Felker
0 siblings, 0 replies; only message in thread
From: Rich Felker @ 2025-07-12 14:50 UTC (permalink / raw)
To: musl
The scandir fixes thread prompted me to notice that scandir is
invoking UB calling qsort with mismatched cmp function type. This was
unavoidable without fully duplicating qsort code in the past, but now
that we have qsort_r, it's fixable. If no one beats me to it I'll work
on a patch to fix this too.
Rich
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-07-12 14:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-12 14:50 scandir qsort usage Rich Felker
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).