Artifacts Associated With Ticket 2597185fffffffff
Ticket change [ba49f17c0b] (rid 129295) by dgp on 2009-02-13 20:51:07:
- assignee initialized to: "dgp"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Tcl_AppendStringsToObj() uses calls to Tcl_*SetObjLength() to grow the buffer big enough to copy in the strings. However (see 1689385) when these routines are applied to a pure unicode value, it is the Tcl_UniChar array and not the char array of objPtr->bytes that is grown. Looks like T_ASTO will crash hard in this situation.
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "9 Immediate"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "dgp"
- subsystem initialized to: "10. Objects"
- title initialized to: "Tcl_AppendStringsToObj fail on pure unicode"
- type initialized to: "Bug"
Ticket change [8525f00f13] (rid 131272) by dgp on 2009-02-18 00:18:10:
- icomment:
fixed in HEAD
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [8ffc6f7846] (rid 120367) by ferrieux on 2009-03-20 05:50:26:
- icomment:
why is this still open ?
- login: "ferrieux"
- mimetype: "text/plain"
- username: "ferrieux"
- icomment:
Ticket change [3d27647ba3] (rid 121038) by dgp on 2009-03-20 08:05:48:
- icomment:
so that I am reminded to backport the fix.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [b74e5373c3] (rid 125566) by dkf on 2009-03-20 17:13:18:
- resolution changed to: "Fixed"
Ticket change [1fdbea0a1d] (rid 91218) by dgp on 2009-03-21 00:42:02:
- icomment:
Demo: % teststringobj set2 1 [string replace abc 1 1 d] % teststringobj appendstrings 1 foo bar soom /bin/sh: line 2: 23231 Segmentation fault ./tcltest
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [63ce814e44] (rid 92643) by dgp on 2009-03-21 09:56:29:
- closedate changed to: "2009-03-21T02:56:29"
- closer changed to: "dgp"
- icomment:
allow_comments - 1 Test stringObj-6.9 committed to confirm fix on all branches.
- login: "dgp"
- mimetype: "text/plain"
- status changed to: "Closed"
- username: "dgp"