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 | f479538ebab30675e222fe6bf360eb4f040c86d0 (patch) | |
tree | d0c17e227db581a3992b3ca262ce23d611203282 /unix/tclUnixInit.c | |
parent | 4f0dc10768a83cc90b14e5074d3f000d53ccdfd4 (diff) | |
download | tcl-f479538ebab30675e222fe6bf360eb4f040c86d0.zip tcl-f479538ebab30675e222fe6bf360eb4f040c86d0.tar.gz tcl-f479538ebab30675e222fe6bf360eb4f040c86d0.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 'unix/tclUnixInit.c')
0 files changed, 0 insertions, 0 deletions