Overview
| Artifact ID: | 4ef0eefade013cadbec270d0ce59d6f8130b11ef |
|---|---|
| Ticket: | 3545365fffffffffffffffffffffffffffffffff
Crash in io-29.33b (no implicit flush of nonblocking on exit |
| User & Date: | twylite on 2012-07-23 19:37:01 |
Changes
- icomment:
Tcl_Close() doesn't CheckForDeadChannel(), nor do other internals in tclIO.c that call closeProc or close2Proc. If one place does, then all of them should (or we'll just see this bug pop up again in another form). Would it not be safer to leave instanceData untouched, and let PipeClose2Proc (or other platform-specific close) give a "already closed" error, rather than risk a NULL pointer dereference?
- login: "twylite"
- mimetype: "text/plain"
- username: "twylite"