http://bugs.winehq.org/show_bug.cgi?id=14369
Summary: beware stack overflow into TEB Product: Wine Version: 1.0.0 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: ntdll AssignedTo: wine-bugs@winehq.org ReportedBy: jreiser@BitWagon.com
Created an attachment (id=14666) --> (http://bugs.winehq.org/attachment.cgi?id=14666) try to warn when stack overflows into TEB
It's too easy to overflow the stack and thus overwrite the TEB, particularly when using external tools such as valgrind(memcheck) and printf :-) Try to detect and give a warning. Patch is attached, and will be sent to wine-patches@winehq.org.