]> git.ipfire.org Git - thirdparty/glibc.git/commit
duplocale: protect use of global locale (bug 23970)
authorAndreas Schwab <schwab@suse.de>
Wed, 6 Mar 2024 11:59:47 +0000 (12:59 +0100)
committerAndreas Schwab <schwab@suse.de>
Mon, 11 Mar 2024 08:52:59 +0000 (09:52 +0100)
commit513331b788a3fa633f1d0417d43915e16a0c88f0
tree0332d6533448306f0a4a5fde3c18b1d7889520aa
parentb6e3898194bbae78910bbe9cd086937014961e45
duplocale: protect use of global locale (bug 23970)

Protect the global locale from being modified while we compute the size of
the locale category names.  That allows the use of the global locale in a
single thread, while all other threads use the thread safe locale
functions.
locale/duplocale.c