Artifacts Associated With Ticket 1225571fffffffff
Ticket change [2c52ee5026] (rid 118881) by patthoyts on 2005-06-22 14:25:29:
- assignee initialized to: "vincentdarley"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Running some tcl 8.4.11 tcl tests under BoundsChecker on WinXP I spotted a "Stack memory overrun" in TclpFilesystemPathType(). tclWinFile.c:2101 the volType is declared as char[] and VOL_BUF_SIZE is set to 32 but this value in the size in TCHARs so when we use the GetVolumeInformationW API our buffer is in fact half the size it should be. The following patch eliminates the warning from BoundsChecker by forcing the buffer to be WCHAR and therefore big enough.
- foundin initialized to: "obsolete: 8.4.11"
- priority initialized to: "7 High"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "patthoyts"
- subsystem initialized to: "37. File System"
- title initialized to: "Stack overrun in Win32 TclpFilesystemPathType"
- type initialized to: "Bug"
Add attachment "tclWinFile.c.patch" [4784a29ad6] (rid 99718) by patthoyts on 2005-06-22 21:25:29.
Ticket change [c4599712ff] (rid 111837) by patthoyts on 2005-06-22 21:25:43:
- icomment:
File Added - 139368: tclWinFile.c.patch
- login: "patthoyts"
- mimetype: "text/plain"
- username: "patthoyts"
- icomment:
Ticket change [1a2d9ec3ff] (rid 122929) by dgp on 2005-06-22 22:55:05:
- icomment:
Logged In: YES user_id=80530 Patch replaces an array of 32 chars with an array of 64 WCHARs. Is that correct?
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [5542fddc0b] (rid 94102) by dgp on 2005-06-23 04:23:36:
- assignee changed to: "dgp"
- closedate changed to: "2005-06-22T21:23:36"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 fix committed for 8.4.11 and HEAD.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dgp"