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/ld…
==============================================================================
--- 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;