We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebdfa8e commit 02c3036Copy full SHA for 02c3036
MemoryModule/Loader.cpp
@@ -96,12 +96,8 @@ NTSTATUS NTAPI LdrLoadDllMemoryExW(
96
97
auto dist = (CurEntry->BaseDllName.Length / sizeof(wchar_t)) - length;
98
bool equal = false;
99
- if (dist == 0 || dist == 4) {
100
- equal = !_wcsnicmp(DllName, CurEntry->BaseDllName.Buffer, length);
101
- }
102
- else {
103
- continue;
104
+ if (!(dist == 0 || dist == 4)) continue;
+ equal = !_wcsnicmp(DllName, CurEntry->BaseDllName.Buffer, length);
105
106
/* Check if name matches */
107
if (equal) {
0 commit comments