Overview
| Artifact ID: | 583f1bef7f084c26ae0e9070374c3158e55eb3dbac3d6baceb8b0820ce7fe73d |
|---|---|
| Ticket: | 8c4082563d6a7ebda4b8804e221a0de31c4c40e4
Tcl_Eval() result can be truncated at NUL |
| User & Date: | sebres on 2024-06-23 13:44:11 |
Changes
- closedate changed to: "2460485.07235287"
- closer changed to: "sebres"
- icomment:
Null-char is not always equal 0.<br/> 0-byte normally always means a NTS-zero char and can cause end of string in some internal operations...<br/> Moreover in Tcl's utf-8 it is not proper character: you have to use either `\xC0\x80` instead of `\0`-char (for pure utf-8 string tcl-objects) or `Tcl_ExternalToUtf`, `Tcl_ExternalToUtfDString` (for strings from external data using encoding) or `Tcl_NewByteArrayObj`, `Tcl_SetByteArrayObj` etc (for binary data). Thus closed as invalid.
- login: "sebres"
- mimetype: "text/x-markdown"
- resolution changed to: "Invalid"
- status changed to: "Closed"