mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
[INPUT]
Fix buffer overrun CID #716118 svn path=/trunk/; revision=62655
This commit is contained in:
@@ -221,7 +221,7 @@ LanguagesEnumProc(LPTSTR lpLanguage)
|
||||
|
||||
Lcid = _tcstoul(lpLanguage, NULL, 16);
|
||||
|
||||
GetLocaleInfo(Lcid, LOCALE_SLANGUAGE, Lang, sizeof(Lang));
|
||||
GetLocaleInfo(Lcid, LOCALE_SLANGUAGE, Lang, sizeof(Lang) / sizeof(Lang[0]));
|
||||
Index = (INT)SendMessage(hLangList, CB_ADDSTRING,
|
||||
0, (LPARAM)Lang);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user