From 55aa581b09f7ec9a1ea9321975fd0a4c074c4bbd Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Mon, 6 Aug 2001 22:43:13 +0000 Subject: Extended description of fix 442665. --- ChangeLog | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 47be923..8def608 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,8 +1,12 @@ 2001-08-06 Andreas Kupries * generic/tclIOCmd.c (Tcl_GetsObjCmd): Applied patch from SF item - [442665] to fix the bug reported by it. - + [442665] to fix the bug reported by it. The function can corrupt + a freed object if it is called with objc == 3. This is because + it retrieves resultPtr and does not increment its reference + count, but then calls Tcl_ObjSetVar2, which causes the retrieved + resultPtr object to be released. + 2001-08-06 Don Porter * doc/tclsh.1: Added note that the tclsh program is frequently -- cgit v0.12