The POSIX locale has gLocaleRoster = NULL and relies on the non-wide version of the implementation. However it doesn't check that the characters are actually in range which leads to out of bound access and crashes in __isctype. Fixes #11322.
The POSIX locale has gLocaleRoster = NULL and relies on the non-wide version of the implementation. However it doesn't check that the characters are actually in range which leads to out of bound access and crashes in __isctype. Fixes #11322.