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.
http://bugs.winehq.org/show_bug.cgi?id=14369
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2008-07-08 12:52:08 --- There's no need to file a bug for every patch you submit.
http://bugs.winehq.org/show_bug.cgi?id=14369
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #2 from Austin English austinenglish@gmail.com 2009-01-05 11:13:36 --- Is this still an issue in current (1.1.12 or newer) wine? Would you mind resubmitting the patch and asking for comments?
http://bugs.winehq.org/show_bug.cgi?id=14369
--- Comment #3 from Austin English austinenglish@gmail.com 2009-07-16 13:09:13 --- Resent: http://www.winehq.org/pipermail/wine-patches/2009-July/075714.html
not applied.
http://bugs.winehq.org/show_bug.cgi?id=14369
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=14369
--- Comment #4 from Austin English austinenglish@gmail.com 2012-03-19 14:03:03 CDT --- Still present.
https://bugs.winehq.org/show_bug.cgi?id=14369
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
https://bugs.winehq.org/show_bug.cgi?id=14369
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #5 from Sebastian Lackner sebastian@fds-team.de --- I assume this bug can be closed as abandoned. It doesn't make sense to apply the patch because VALGRIND_SET_BOGEY() was never included in valgrind. The only reference I could find was http://permalink.gmane.org/gmane.comp.debugging.valgrind.devel/1644, but it seems like the patch was never applied (@Austin: correct me if I am wrong ^^). Without that feature it makes no sense to keep this bug open (except the author is still working on it, but rather unlikely after 7 years without any response).
https://bugs.winehq.org/show_bug.cgi?id=14369
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |ABANDONED
--- Comment #6 from Austin English austinenglish@gmail.com --- Seems to be related to http://permalink.gmane.org/gmane.comp.debugging.valgrind.devel/1644, which indeed isn't in Valgrind. Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=14369
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Bruno Jesus 00cpxxx@gmail.com --- Closing abandoned bugs.