Skip to content
Tcl Source Code Check-in [6dddbc1976]
Login

Check-in [6dddbc1976]

Overview
Comment: * generic/tclIO.c (ReadChars): Added check and panic and commentary to a piece of code which relies on BUFFER_PADDING to create enough space at the beginning of each buffer forthe insertion of partial multi-byte data at the beginning of a buffer. To explain why this code is ok, and as precaution if someone twiddled the BUFFER_PADDING into uselessness. * generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code temporarily suppress the use of TCL_ENCODING_END set when eof was reached while the buffer we are converting is not truly the last buffer in the queue. together with the Utf bug below it was possible to completely bollox the buffer data structures, eventually crashing Tcl. * generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the function accessed memory beyond the end of the input buffer. When TCL_ENCODING_END is set and the last bytes of the buffer start a multi-byte sequence. This bug contributed to [SF Tcl Bug 1462248].
Timelines: family | ancestors | descendants | both | core-8-4-branch
Files: files | file ages | folders
SHA1: 6dddbc1976f98f4da6da8a0a621c1d1f19640e01
User & Date: andreas_kupries on 2006-04-05 00:05:53.000
Other Links: branch diff | manifest | tags
Context
2006-04-05
01:20
* generic/tclPkg.c: Revised Bug 1162286 fix from 2005-11-08 to be even more forg... check-in: a37aac53e5 user: dgp tags: core-8-4-branch
00:05
* generic/tclIO.c (ReadChars): Added check and panic and commentary to a piece of code which re... check-in: 6dddbc1976 user: andreas_kupries tags: core-8-4-branch
2006-03-28
21:16
* win/configure, win/tcl.m4: define MACHINE for gcc builds as well. Needed by Tk for manifest gene... check-in: 67db0a4f16 user: hobbs tags: core-8-4-branch
Changes