* exceptions.cc (inside_kernel): Fix to return true if we can't get the name of
the DLL for the given memory block since we are not in kernel code.
This commit is contained in:
@ -308,7 +308,7 @@ inside_kernel (CONTEXT *cx)
|
||||
else if (h == user_data->hmodule)
|
||||
res = true;
|
||||
else if (!GetModuleFileName (h, checkdir, windows_system_directory_length + 2))
|
||||
res = false;
|
||||
res = true;
|
||||
else
|
||||
res = !strncasematch (windows_system_directory, checkdir,
|
||||
windows_system_directory_length);
|
||||
|
Reference in New Issue
Block a user