Overview
| Artifact ID: | ef33166b6cf7b8e6661a1a6b68b27df4a67b6fda |
|---|---|
| Ticket: | 1178805fffffffffffffffffffffffffffffffff
empty lists cause nasty surprises |
| User & Date: | msofer on 2005-04-07 19:41:28 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
[Patch 1158008] causes segfaults for extensions that expect that a call to Tcl_ListObj* functions shimmers the object to tclListType, as it will fail to meet that assumption for zero-length lists. Notable example is Tile [Bug 1177266]. Even though this is IMO a bug in the extension and not in Tcl, the cost of fixing that and avoiding the grief is relatively small: do make it a tclListObjType, and let FreeListInternalRep() do the right thing with it - ie, nothing.
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "msofer"
- subsystem changed to: "14. List Object"
- title changed to: "empty lists cause nasty surprises"
- type changed to: "Bug"