Overview
| Artifact ID: | 3ca6fd02fcbc5c288432c500dbdfc239b2d7754f |
|---|---|
| Ticket: | 1783443fffffffffffffffffffffffffffffffff
apache and websh |
| User & Date: | msofer on 2007-09-04 20:20:49 |
Changes
- closedate changed to: "2007-09-04T13:20:49"
- closer changed to: "msofer"
- icomment:
Logged In: YES user_id=148712 Originator: NO No, that is wrong: you should Tcl_IncrRefCount(tmp) before calling Tcl_ObjSetVar2(). See http://wiki.tcl.tk/14880 for guidance on these issues. Why the problem is only apparent on Server 2003: a mystery. It is always wrong, $varname will be just about anything after this: the obj has been freed, it will be reused for something else (assuming a standard Tcl compilation). [*] If the refCount is not incr/decr, Tcl (pre 8.5, not anymore in HEAD) will leak the Tcl_Obj whenever a variable called 'varname' cannot be set - for instance, if it refers to a non-existing namespace.
- login: "msofer"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Pending"
- username: "msofer"