Commit d1a0a9fba05af9994caaa145045c1e11affc385d

Bruno Haible 2016-12-02T13:52:43

localcharset: Avoid theoretical buffer overrun. * lib/localcharset.c (locale_charset) [WINDOWS_NATIVE]: Don't use the return value from setlocale if it would lead to a buffer overrun.