Overview
| Artifact ID: | b59a18f46b58e2dc42df623d7bd0b90333d7fa8a |
|---|---|
| Ticket: | 1119369fffffffffffffffffffffffffffffffff
segfault in Tcl_EvalObjv (from Tcl_EvalObjEx call) |
| User & Date: | pcmacdon on 2005-02-13 01:45:04 |
Changes
- icomment:
Logged In: YES user_id=190660 What I'm proposing here covers the case in Tcl_EvalObjCmd where objc>2 or objPtr=Tcl_Concat(...), etc. In this case, the internal representation can not change because Tcl_EvalObjEx does not pass objPtr on to any other function. It merely grabs the objv from objPtr->twoPtrValue.ptr1 And the objPtr will be destroyed automatically by the Tcl_DecrRefCount before returning. ie. Scenario: On entering Tcl_EvalObjEx (flag=TCL_EVAL_DIRECT), objPtr->refCount == 0 Assumption: objPtr is a private object with no other users except the caller.
- login: "pcmacdon"
- mimetype: "text/plain"
- username: "pcmacdon"