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 | dd13549c2381c348b6536501d389e513a6082f5d (patch) | |
tree | df824fb86004bdab22bfe820fe7088ec3497714d /ChangeLog | |
parent | f22c720323ae972ba91834691c7c0ad1b800d2df (diff) | |
download | tcl-dd13549c2381c348b6536501d389e513a6082f5d.zip tcl-dd13549c2381c348b6536501d389e513a6082f5d.tar.gz tcl-dd13549c2381c348b6536501d389e513a6082f5d.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 |