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 /ChangeLog | |
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 'ChangeLog')
-rw-r--r-- | ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -1,3 +1,14 @@ +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. + 2007-11-10 Miguel Sofer <msofer@users.sf.net> * generic/tclBasic.c: |