diff options
author | andreas_kupries <akupries@shaw.ca> | 2008-04-04 16:46:57 (GMT) |
---|---|---|
committer | andreas_kupries <akupries@shaw.ca> | 2008-04-04 16:46:57 (GMT) |
commit | bd64b428cf44de3abad33cda014cb21a5252ef79 (patch) | |
tree | 5c53dad0a279bb101e8f30f2530c0f68414f278c /ChangeLog | |
parent | 691a1239878ea8dece6135548a490b4d36285fe2 (diff) | |
download | tcl-bd64b428cf44de3abad33cda014cb21a5252ef79.zip tcl-bd64b428cf44de3abad33cda014cb21a5252ef79.tar.gz tcl-bd64b428cf44de3abad33cda014cb21a5252ef79.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 |