Skip to content
Tcl Source Code Check-in [37e659d589]
Login

Check-in [37e659d589]

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: 37e659d589622e2864b7390792f9148570af15f3fb4477253ff947be0592c6dc
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