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 | trunk |
| Files: | files | file ages | folders |
| SHA1: |
3f9727b64fd3c3a82603d9d6a2da3e83 |
| User & Date: | andreas_kupries on 2006-04-05 00:18:50.000 |
| Other Links: | manifest | tags |
Context
|
2006-04-05
| ||
| 02:02 | typos check-in: fc09efd8ad user: das tags: trunk | |
| 00:18 | * generic/tclIO.c (ReadChars): Added check and panic and commentary to a piece of code which re... check-in: 3f9727b64f user: andreas_kupries tags: trunk | |
|
2006-03-30
| ||
| 01:03 | * generic/tclExecute.c: remove unused var and silence gcc warning check-in: d467470b46 user: msofer tags: trunk | |
Changes
Modified ChangeLog
from [b467f19e91]
to [4f77baf9d9].
[diff]
Modified generic/tclEncoding.c
from [5d5db22836]
to [4a4d14e2d8].
[diff]
Modified generic/tclIO.c
from [fc99bace1a]
to [1c1c7202f6].
[diff]