On Fri Jul 21 17:03:58 2023 +0000, Victor Hermann Chiletto wrote:
I think we should replace wcsncpy with lstrcpynW here and on lines 392 and 408.
I think it can go in another MR.
I don't think we should use lstrcpynW here (but we also shouldn't use wcsncpy). I think that the correct solution is to reject locale if it doesn't fit into the buffer. I don't think things will work with truncated locale name.