Author: hbelusca
Date: Sat Sep 19 14:02:22 2015
New Revision: 69287
URL:
http://svn.reactos.org/svn/reactos?rev=69287&view=rev
Log:
[NTVDM]: Fix usage of RtlCompareMemory.
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c
Modified: trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/dos/…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/dos/dos32krnl/emsdrv.c [iso-8859-1] Sat Sep 19
14:02:22 2015
@@ -468,7 +468,7 @@
if (HandleTable[i].Allocated &&
RtlCompareMemory(HandleName,
HandleTable[i].Name,
- sizeof(HandleTable[i].Name)) != 0)
+ sizeof(HandleTable[i].Name)) ==
sizeof(HandleTable[i].Name))
{
HandleFound = &HandleTable[i];
break;