Author: pschweitzer
Date: Sat Apr 5 14:30:22 2014
New Revision: 62621
URL:
http://svn.reactos.org/svn/reactos?rev=62621&view=rev
Log:
[BASESRV]
Properly call RtlFillMemory in BaseSrvNLSInit. This fixes incomplete NlsUserInfo init
CID #1102265
Modified:
trunk/reactos/subsystems/win/basesrv/nls.c
Modified: trunk/reactos/subsystems/win/basesrv/nls.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win/basesrv/nls…
==============================================================================
--- trunk/reactos/subsystems/win/basesrv/nls.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win/basesrv/nls.c [iso-8859-1] Sat Apr 5 14:30:22 2014
@@ -116,7 +116,7 @@
/* 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;