Overview
| Artifact ID: | 783b8daec5ff7e9e9d0110e1643f765b22a9884b |
|---|---|
| Ticket: | 3084489fffffffffffffffffffffffffffffffff
Serious issue: Tcl_DuplicateObj isn't making a copy? |
| User & Date: | msofer on 2010-10-10 18:18:41 |
Changes
- closedate changed to: "2010-10-10T11:18:41"
- closer changed to: "msofer"
- icomment:
This is almost certainly a bug in mk stuff, not Tcl. Please report to that project, or provide evidence that it is a Tcl problem. I could not easily find the source for lminus, so can't tell for sure. But here's my guess: there is a call of TclListObjGetElements, and then a sort is done in place. This is NOT a valid usage. To quote the manual http://www.tcl.tk/man/tcl8.5/TclLib/ListObj.htm: "The memory pointed to is managed by Tcl and should not be freed or written to by the caller."
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "msofer"