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

Check-in [cc90065303]

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 Tcl_SetObjLength prefers bytes (like the ReadChars)
Timelines: family | ancestors | descendants | both | fix-db4f2843cd
Files: files | file ages | folders
SHA3-256: cc90065303e11f36536b6c353fca6487b5e35fcd5d670c28745ea81b07d671db
User & Date: sebres on 2023-12-05 22:42:02.173
Original Comment: 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 Tcl_SetObjLength prefers bytes (like the ReadChars)
Other Links: branch diff | manifest | tags
References
2024-01-22
15:13 • Open ticket [db4f2843cd]: Sporadic segfault (BO) using tclIO plus 5 other ch... artifact: 2fddea253a user: sebres
2023-12-05
23:11 • Pending ticket [db4f2843cd]. artifact: 05ba2431ea user: sebres
Context
2023-12-06
17:17
closes [db4f2843cd]: fixes SF by BO in ReadChars (and Tcl_ReadChars with append) check-in: c5a68de09a user: sebres tags: core-8-6-branch
2023-12-05
22:42
closes [db4f2843cd]: fixes SF by BO in ReadChars (and Tcl_ReadChars with append) caused by wrong buf... closed check-in: cc90065303 user: sebres tags: fix-db4f2843cd
2023-11-30
19:23
MS-Win: document the exec %var% re-allowance. Ticket [fb2fa9b3f6] check-in: 7ffab2f5dd user: oehhar tags: core-8-6-branch
Changes