[PATCH] ntdll: Decouple pthread stack and win32 stack.

Alexandre Julliard julliard at winehq.org
Wed Aug 19 11:03:22 CDT 2020


Jefferson Carpenter <jeffersoncarpenter2 at gmail.com> writes:

> Is there any particular reason to place the pthread stack adjacent to
> the win32 stack?  If the pthread stack happened to extend past
> PTHREAD_STACK_MIN while the win32 thread was started, writes to the
> win32 stack (such as the initial CONTEXT) would overwrite the pthread
> stack.

Do you have a case where this actually happens?  If so, moving the stack
somewhere else is only going to crash or overwrite some other data.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list