[Bug 296410] sprintf/vfprintf not thread safe on AArch64 due to localeconv_l using atomic_store_int, with relaxed semantics

[email protected] Sun, 05 Jul 2026 03:19:21 +0000
Newsgroups gmane.os.freebsd.devel.threading
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D296410

--- Comment #4 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3D4efbcf36a0d49ab142023a767871532f5=
15f1381

commit 4efbcf36a0d49ab142023a767871532f515f1381
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2026-07-05 02:50:27 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2026-07-05 03:18:50 +0000

    libc locale/localeconv.c: use release semantic when clearing locale_cha=
nged

    PR:     296410
    Submitted by:   Tomas Vondra <[email protected]>
    MFC after:      1 week

 lib/libc/locale/localeconv.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--=20
You are receiving this mail because:
You are the assignee for the bug.=