Overview
| Artifact ID: | 0b57484a823022dde4c2448d99138d66ba3429b8 |
|---|---|
| Ticket: | 1904432fffffffffffffffffffffffffffffffff
Tcl_DeleteCommandFromToken and NULL token |
| User & Date: | dgp on 2008-03-12 02:47:25 |
Changes
- assignee changed to: "msofer"
- foundin changed to: "None"
- icomment:
data_type - 360894 Logged In: YES user_id=80530 Originator: NO I think you've misread the documentation. "If the command corresponding to token has already been deleted from interp then Tcl_DeleteCommand does nothing and returns -1; otherwise it returns 0." But you are not passing a token value of an already deleted command. You are passing the value NULL. And NULL values lead to crashes. There may be a convenience case to be made for changing this, but that's a feature request, not a bug.
- login: "dgp"
- mimetype: "text/plain"
- subsystem changed to: "45. Parsing and Eval"
- username: "dgp"