Overview
| Artifact ID: | a751f565cf8d5b74d783614d9e5e0517b7a9a44c |
|---|---|
| Ticket: | 2603158fffffffffffffffffffffffffffffffff
Tcl_AppendObjToObj cannot append obj to self |
| User & Date: | dgp on 2009-02-15 18:10:53 |
Changes
- assignee changed to: "dgp"
- cmimetype changed to: "text/plain"
- comment changed to:
This will crash: Tcl_AppendObjToObj(objPtr, objPtr); Same problem with int numBytes; char *bytes = Tcl_GetStringFromObj(objPtr, &numBytes); Tcl_AppendToObj(objPtr, bytes, numBytes); and other equivalents. Same problem with int numChars; Tcl_UniChar *unicode = Tcl_GetUnicodeFromObj(objPtr, &numChars); Tcl_AppendUnicodeToObj(objPtr, unicode, numChars); The latest optimization for bytearray values does work. That's the only case that does. (Good work, dkf!) - foundin changed to: "obsolete: 8.5.6"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "dgp"
- subsystem changed to: "10. Objects"
- title changed to: "Tcl_AppendObjToObj cannot append obj to self"
- type changed to: "Bug"