Overview
| Comment: | Tcl_InitStringRep() bug. Truncation assumed length == allocated. Wrong! Convert "bytearray" Tcl_ObjType to used new facilities. No longer directly refers to bytes or length fields, or any ckalloc of string rep. |
|---|---|
| Timelines: | family | ancestors | descendants | both | tip-445 |
| Files: | files | file ages | folders |
| SHA1: |
67e89706563b4b6acdd549863b8dee08 |
| User & Date: | dgp on 2016-03-23 15:19:05.572 |
| Other Links: | branch diff | manifest | tags |
Context
|
2016-03-23
| ||
| 15:21 | merge trunk check-in: 3c05a2caaa user: dgp tags: tip-445 | |
| 15:19 | Tcl_InitStringRep() bug. Truncation assumed length == allocated. Wrong! Convert "bytearray" Tcl_Ob... check-in: 67e8970656 user: dgp tags: tip-445 | |
| 14:10 | Revise Tcl_InitStringRep(); numBytes is unsigned. Only truncation permitted. check-in: c0ff1ae7c3 user: dgp tags: tip-445 | |
Changes
Modified generic/tclBinary.c
from [fee105a45a]
to [c80ba0a8cf].
[diff]
Modified generic/tclObj.c
from [933a4b21bb]
to [9fb49031ef].
[diff]