Follow @Openwall on Twitter for new release announcements and other news
[<prev] [day] [month] [year] [list]
Message-ID: <20250712144959.GD1827@brightrain.aerifal.cx>
Date: Sat, 12 Jul 2025 10:50:02 -0400
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: scandir qsort usage

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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.