bad_addresses

This commit is contained in:
Christopher Faylor
2005-09-02 04:46:51 +00:00
parent 062c2fa42f
commit 7a1bf10a84
9 changed files with 34 additions and 20 deletions

View File

@@ -147,6 +147,7 @@ dll_entry (HANDLE h, DWORD reason, void *static_load)
case DLL_PROCESS_ATTACH:
cygwin_hmodule = (HMODULE) h;
dynamically_loaded = (static_load == NULL);
init_console_handler (TRUE);
/* Is the stack at an unusual address? This is, an address which
is in the usual space occupied by the process image, but below