Skip to content
Tcl Source Code Check-in [bf656a0123]
Login

Check-in [bf656a0123]

Overview
Comment:2007-11-10 Kevin Kenny <[email protected]> * 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.
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bf656a01231a708f727fa1621fab472608d8a2be
User & Date: kennykb on 2007-11-10 17:24:01.000
Other Links: manifest | tags
Context
2007-11-10
17:40
minor code cleanup in TclpGetCStackParams; hoist a couple of structs from TSD into the activation re... check-in: 40cc92d53f user: kennykb tags: trunk
17:24
2007-11-10 Kevin Kenny <[email protected]> * win/tclWin32Dll.c: Rewrote the Windows stack checking... check-in: bf656a0123 user: kennykb tags: trunk
16:08
* generic/tclBasic.c: * generic/tclInt.h: * unix/tclUnixInit.c: * unix/tclUnixPort.h: * win/tcl... check-in: a3b6a2d871 user: msofer tags: trunk
Changes