diff options
author | Kevin B Kenny <kennykb@acm.org> | 2007-11-10 17:24:01 (GMT) |
---|---|---|
committer | Kevin B Kenny <kennykb@acm.org> | 2007-11-10 17:24:01 (GMT) |
commit | 590f17c72d0353c75007c62962737dc5d553884a (patch) | |
tree | d0c17e227db581a3992b3ca262ce23d611203282 /tools | |
parent | 0e7fa3edd23cef23c43109db2656ccc52978c99b (diff) | |
download | tcl-590f17c72d0353c75007c62962737dc5d553884a.zip tcl-590f17c72d0353c75007c62962737dc5d553884a.tar.gz tcl-590f17c72d0353c75007c62962737dc5d553884a.tar.bz2 |
2007-11-10 Kevin Kenny <kennykb@acm.org>
* win/tclWin32Dll.c: Rewrote the Windows stack checking algorithm
to use information from VirtualQuery to determine the bound of the
stack. This change fixes a bug where the guard page of the stack
was never restored after an overflow. It also eliminates a nasty
piece of assembly code for structured exception handling on
mingw. It introduces an assumption that the stack is a single
memory arena returned from VirtualAlloc, but the code in MSVCRT
makes the same assumption, so it should be fairly safe.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions