mirror of
https://github.com/reactos/reactos.git
synced 2024-07-15 17:06:29 +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 */
|
||||
pNlsRegUserInfo = &StaticData->NlsUserInfo;
|
||||
RtlFillMemory(&StaticData->NlsUserInfo, 0xFF, sizeof(StaticData->NlsUserInfo));
|
||||
RtlFillMemory(&StaticData->NlsUserInfo, sizeof(StaticData->NlsUserInfo), 0xFF);
|
||||
|
||||
/* Set empty LCID */
|
||||
pNlsRegUserInfo->UserLocaleId = 0;
|
||||
|
|
Loading…
Reference in a new issue