Author: ion
Date: Fri Aug 30 06:53:07 2013
New Revision: 59895
URL:
http://svn.reactos.org/svn/reactos?rev=59895&view=rev
Log:
[BASESRV]: Fix critical bug in BaseSrvNlsGetUserInfo.
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] Fri Aug 30 06:53:07 2013
@@ -306,7 +306,7 @@
if (NT_SUCCESS(Status))
{
/* Do the copy now, then drop the lock */
- RtlCopyMemory(&NlsMsg->NlsUserInfo, pNlsRegUserInfo,
NlsMsg->Size);
+ RtlCopyMemory(NlsMsg->NlsUserInfo, pNlsRegUserInfo, NlsMsg->Size);
DPRINT1("NLS Data copy complete\n");
RtlLeaveCriticalSection(&NlsCacheCriticalSection);
}