Overview
| Comment: | closes [db4f2843cd]: fixes SF by BO in ReadChars (and Tcl_ReadChars with append) caused by wrong buffer enlarge if objPtr shimmering to unicode for whatever reason, since Tcl_AppendToObj prefers unicode to bytes, whereas TclAppendUtfToUtf always extend bytes (that handled by ReadChars) |
|---|---|
| Timelines: | family | ancestors | descendants | both | fix-db4f2843cd |
| Files: | files | file ages | folders |
| SHA3-256: |
37e659d589622e2864b7390792f91485 |
| User & Date: | sebres on 2024-01-29 13:55:50.568 |
| Other Links: | branch diff | manifest | tags |
References
|
2024-01-29
| ||
| 14:05 | • Pending ticket [db4f2843cd]: Sporadic segfault (BO) using tclIO plus 4 other... artifact: 251096d395 user: sebres | |
Context
|
2024-01-29
| ||
| 14:10 | closes [db4f2843cd]: fixes segfault by BO in ReadChars (and Tcl_ReadChars with append) check-in: 399b55fa05 user: sebres tags: core-8-6-branch | |
| 13:55 | closes [db4f2843cd]: fixes SF by BO in ReadChars (and Tcl_ReadChars with append) caused by wrong buf... closed check-in: 37e659d589 user: sebres tags: fix-db4f2843cd | |
| 11:06 | don't flush to use full buffer (otherwise the chunks were 4K anyway) check-in: 2dce470bdf user: sebres tags: fix-db4f2843cd | |
Changes
Modified generic/tclIO.c
from [bcc1000f1a]
to [4b47c6801e].
[diff]
Modified generic/tclInt.h
from [6915ed8a0a]
to [e74a5ea6f7].
[diff]
Modified generic/tclStringObj.c
from [b699d4f79b]
to [8a25497839].
[diff]