diff options
author | andreas_kupries <akupries@shaw.ca> | 2008-04-04 16:45:48 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2008-04-04 16:45:48 (GMT) |
commit | 2ee83d5390eaafbdbf8d931394ce06e5024f961b (patch) | |
tree | df824fb86004bdab22bfe820fe7088ec3497714d /ChangeLog | |
parent | 55e6a42b0f6c5572c518c0e1eef248601d9e52c7 (diff) | |
download | tcl-2ee83d5390eaafbdbf8d931394ce06e5024f961b.zip tcl-2ee83d5390eaafbdbf8d931394ce06e5024f961b.tar.gz tcl-2ee83d5390eaafbdbf8d931394ce06e5024f961b.tar.bz2 |
* generic/tclIORChan.c (ReflectClose): Added missing removal of
the now closed channel from the reflection map. Before we could
crash the system by invoking 'chan postevent' on a closed
reflected channel, dereferencing the dangling pointer in the
map.
* tests/ioCmd.test (iocmd-31.8): Testcase for the above.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2008-04-04 Andreas Kupries <andreask@activestate.com> + + * generic/tclIORChan.c (ReflectClose): Added missing removal of + the now closed channel from the reflection map. Before we could + crash the system by invoking 'chan postevent' on a closed + reflected channel, dereferencing the dangling pointer in the + map. + + * tests/ioCmd.test (iocmd-31.8): Testcase for the above. + 2008-04-03 Andreas Kupries <andreask@activestate.com> * generic/tclIO.c (CopyData): Applied patch [Bug 1932639] to |