|
2004-10-20
| ||
| 15:54 | • Closed ticket [1050490fff]: invalid ref in ThreadSetResult plus 7 other chan... artifact: 0003ddac33 user: vasiljevic | |
| 12:50 | • Add attachment thread.patch to ticket [1050490fff] artifact: 5789c85ca3 user: dgp | |
| 12:50 | • Ticket [1050490fff] invalid ref in ThreadSetResult status still Open with 4 ... artifact: 2e766e1386 user: dgp | |
| 05:50 | • New ticket [1050490fff]. artifact: 24d96aa39c user: dgp | |
invalid ref in ThreadSetResult
Closed / Fixed1050490fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2004-10-20 05:50:13
ThreadSetResult gets a pointer
to the string rep of an interp result:
result = Tcl_GetStringResult(interp);
then keeps on using that pointer after
the interp's doing other things, making
no effort to preserve the result.
Recent changes on the Tcl HEAD allow
that result to change out from under us.
Here's a simple patch to correct.
Without it, you will see tests fail.
dgpplain2004-10-20 12:50:13
File Added - 105762: thread.patch
vasiljevicplain2004-10-20 15:54:28
Logged In: YES user_id=95086 Fixed and applied to HEAD.
Log in (anonymous is fine) to add a comment.
Attachments:
- thread.patch [download] added by dgp on 2004-10-20 12:50:13. [details]