News for hackers. Stuff that matters.
Re:Secure C coding standards by SEI by hsivonen on Tuesday April 04, 2017 @05:57PM (#14037616)
The “compliant solution” example for setlocale() is thread-unsafe, AFAICT.

(I’m not aware of a safe solution other than “don’t use the text processing part of the C standard library, because its design is too wrong”.)

Re:Secure C coding standards by SEI by wuch on Wednesday April 05, 2017 @09:38AM (#14041971)
There is a thread-specific uselocale() in POSIX.1-2008.