Skip to content
Tcl Source Code Artifact [bf656a0123]
Login

Artifact [bf656a0123]

Artifact bf656a01231a708f727fa1621fab472608d8a2be:

Manifest of check-in [bf656a0123] - 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. by kennykb on 2007-11-10 17:24:01.
B a3b6a2d8715ebe416ab755d5b30e5c8198621be7
C 2007-11-10\s\sKevin\sKenny\s\s<[email protected]>\n\n\t*\swin/tclWin32Dll.c:\sRewrote\sthe\sWindows\sstack\schecking\salgorithm\n\tto\suse\sinformation\sfrom\sVirtualQuery\sto\sdetermine\sthe\sbound\sof\sthe\n\tstack.\s\sThis\schange\sfixes\sa\sbug\swhere\sthe\sguard\spage\sof\sthe\sstack\n\twas\snever\srestored\safter\san\soverflow.\s\sIt\salso\seliminates\sa\snasty\n\tpiece\sof\sassembly\scode\sfor\sstructured\sexception\shandling\son\n\tmingw.\s\sIt\sintroduces\san\sassumption\sthat\sthe\sstack\sis\sa\ssingle\n\tmemory\sarena\sreturned\sfrom\sVirtualAlloc,\sbut\sthe\scode\sin\sMSVCRT\n\tmakes\sthe\ssame\sassumption,\sso\sit\sshould\sbe\sfairly\ssafe.\n
D 2007-11-10T17:24:01
F ChangeLog 6135e589b7a58824e72406c85b55c6cb112cae25
F win/tclWin32Dll.c 3379c389df709b9b3c2520b3ccce520310249f39
P a3b6a2d8715ebe416ab755d5b30e5c8198621be7
U kennykb
Z 7a01bca896603e6ee85ba6ffffa33c0d