mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 19:03:01 +00:00
[BASESRV]
Properly call RtlFillMemory in BaseSrvNLSInit. This fixes incomplete NlsUserInfo init CID #1102265 svn path=/trunk/; revision=62621
This commit is contained in:
parent
2afcfa6dbd
commit
578a9174d9
|
@ -116,7 +116,7 @@ BaseSrvNLSInit(IN PBASE_STATIC_SERVER_DATA StaticData)
|
||||||
|
|
||||||
/* Initialize the data with all F's */
|
/* Initialize the data with all F's */
|
||||||
pNlsRegUserInfo = &StaticData->NlsUserInfo;
|
pNlsRegUserInfo = &StaticData->NlsUserInfo;
|
||||||
RtlFillMemory(&StaticData->NlsUserInfo, 0xFF, sizeof(StaticData->NlsUserInfo));
|
RtlFillMemory(&StaticData->NlsUserInfo, sizeof(StaticData->NlsUserInfo), 0xFF);
|
||||||
|
|
||||||
/* Set empty LCID */
|
/* Set empty LCID */
|
||||||
pNlsRegUserInfo->UserLocaleId = 0;
|
pNlsRegUserInfo->UserLocaleId = 0;
|
||||||
|
|
Loading…
Reference in a new issue