Skip to content
Tcl Source Code Artifact [2c52ee5026]
Login

Artifact [2c52ee5026]

Artifact 2c52ee5026eba6a5bca06fd4a003f2e1ea2fe952:

Ticket change [2c52ee5026] - New ticket [1225571fffffffff|1225571fff] <i>Stack overrun in Win32 TclpFilesystemPathType</i>. by patthoyts on 2005-06-22 14:25:29.
D 2005-06-22T14:25:29
J assignee vincentdarley
J cmimetype text/plain
J comment Running\ssome\stcl\s8.4.11\stcl\stests\sunder\sBoundsChecker\non\sWinXP\sI\sspotted\sa\s"Stack\smemory\soverrun"\sin\nTclpFilesystemPathType().\n\ntclWinFile.c:2101\sthe\svolType\sis\sdeclared\sas\schar[]\sand\nVOL_BUF_SIZE\sis\sset\sto\s32\sbut\sthis\svalue\sin\sthe\ssize\sin\nTCHARs\sso\swhen\swe\suse\sthe\sGetVolumeInformationW\sAPI\sour\nbuffer\sis\sin\sfact\shalf\sthe\ssize\sit\sshould\sbe.\n\nThe\sfollowing\spatch\seliminates\sthe\swarning\sfrom\nBoundsChecker\sby\sforcing\sthe\sbuffer\sto\sbe\sWCHAR\sand\ntherefore\sbig\senough.
J foundin obsolete:\s8.4.11
J priority 7\sHigh
J resolution None
J status Open
J submitter patthoyts
J subsystem 37.\sFile\sSystem
J title Stack\soverrun\sin\sWin32\sTclpFilesystemPathType
J type Bug
K 1225571fffffffffffffffffffffffffffffffff
U patthoyts
Z 574574eefa1edae2c055ee92f4e2ff60