[ros-diffs] [weiden] 24398: Fix almost the same bug in LdrGetProcedureAddress as in r24397
weiden at svn.reactos.org
weiden at svn.reactos.org
Wed Oct 4 20:46:58 CEST 2006
Author: weiden
Date: Wed Oct 4 22:46:57 2006
New Revision: 24398
URL: http://svn.reactos.org/svn/reactos?rev=24398&view=rev
Log:
Fix almost the same bug in LdrGetProcedureAddress as in r24397
Modified:
trunk/reactos/subsystems/win32/win32k/ldr/loader.c
Modified: trunk/reactos/subsystems/win32/win32k/ldr/loader.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ldr/loader.c?rev=24398&r1=24397&r2=24398&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ldr/loader.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ldr/loader.c Wed Oct 4 22:46:57 2006
@@ -66,7 +66,7 @@
NamePtr = (PULONG)((ULONG_PTR)BaseAddress + (ULONG)ExportDir->AddressOfNames);
for( i = 0; i < ExportDir->NumberOfNames; i++, NamePtr++, OrdinalPtr++)
{
- if (!_strnicmp(Name->Buffer, (char*)((ULONG_PTR)BaseAddress + *NamePtr), Name->Length))
+ if (!strcmp(Name->Buffer, (char*)((ULONG_PTR)BaseAddress + *NamePtr)))
{
*ProcedureAddress = (PVOID)((ULONG_PTR)BaseAddress + (ULONG)AddressPtr[*OrdinalPtr]);
return STATUS_SUCCESS;
More information about the Ros-diffs
mailing list