mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
[NTOS]
- Fix an assert in MiFindExportedRoutineByName to be something more like what the original author probably wanted to do. - This allows FileSpy to run successfully with the legacy filter driver - https://postimg.org/image/7z73xy4pd/ svn path=/trunk/; revision=73352
This commit is contained in:
parent
e6d204ac42
commit
dc7472be71
|
@ -554,8 +554,9 @@ MiFindExportedRoutineByName(IN PVOID DllBase,
|
|||
Function = (PVOID)((ULONG_PTR)DllBase + ExportTable[Ordinal]);
|
||||
|
||||
/* We found it! */
|
||||
ASSERT(!(Function > (PVOID)ExportDirectory) &&
|
||||
(Function < (PVOID)((ULONG_PTR)ExportDirectory + ExportSize)));
|
||||
ASSERT((Function < (PVOID)ExportDirectory) ||
|
||||
(Function > (PVOID)((ULONG_PTR)ExportDirectory + ExportSize)));
|
||||
|
||||
return Function;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue