Artifacts Associated With Ticket 1882373fffffffffffffffffffffffffffffffff
Ticket change [ad897e6059] (rid 101486) by an00na on 2008-01-30 04:32:04:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
The last `for' loop in Tcl_GetAlias function: for (i = 1; i < objc; i++) { *argvPtr[i - 1] = TclGetString(objv[i]); } The bug spot is `*argvPtr[i - 1]'. Obviously, it should be `(*argvPtr)[i - 1]', otherwise, it causes invalid memory access when objc > 2, since it is only when idx is 0 that *argvPtr[idx] is the same as (*argvPtr)[idx] in effect. Thus, the fixed code is: for (i = 1; i < objc; i++) { (*argvPtr)[i - 1] = TclGetString(objv[i]); } It is verified by our application product. - foundin initialized to: "obsolete: 8.5.0"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "an00na"
- subsystem initialized to: "20. [interp]"
- title initialized to: "Bug in code of Tcl_GetAlias in tclInterp.c"
- type initialized to: "Bug"
Ticket change [2dd8904563] (rid 119126) by dkf on 2008-01-30 17:23:02:
- priority changed to: "9 Immediate"
Ticket change [d38801ed98] (rid 123305) by msofer on 2008-01-30 17:47:28:
- assignee changed to: "msofer"
- closedate changed to: "2008-01-30T10:47:28"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Originator: NO Fixed in HEAD and 8.4
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "msofer"