* 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:
parent
90c01ac9df
commit
e1bfb483ea
|
@ -1,3 +1,9 @@
|
||||||
|
2006-01-27 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2006-01-26 Corinna Vinschen <corinna@vinschen.de>
|
2006-01-26 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.cc (fhandler_base::open): Fix bug in argument order to
|
* fhandler.cc (fhandler_base::open): Fix bug in argument order to
|
||||||
|
|
|
@ -308,7 +308,7 @@ inside_kernel (CONTEXT *cx)
|
||||||
else if (h == user_data->hmodule)
|
else if (h == user_data->hmodule)
|
||||||
res = true;
|
res = true;
|
||||||
else if (!GetModuleFileName (h, checkdir, windows_system_directory_length + 2))
|
else if (!GetModuleFileName (h, checkdir, windows_system_directory_length + 2))
|
||||||
res = false;
|
res = true;
|
||||||
else
|
else
|
||||||
res = !strncasematch (windows_system_directory, checkdir,
|
res = !strncasematch (windows_system_directory, checkdir,
|
||||||
windows_system_directory_length);
|
windows_system_directory_length);
|
||||||
|
|
|
@ -731,6 +731,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
|
||||||
myself->exec_sendsig = NULL;
|
myself->exec_sendsig = NULL;
|
||||||
}
|
}
|
||||||
res = -1;
|
res = -1;
|
||||||
|
CloseHandle (moreinfo->myself_pinfo);
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue