Overview
| Artifact ID: | 023fc2f7a95676f9296679e7ce572343de72b3ab265b58744487494d75563853 |
|---|---|
| Ticket: | fb368527aeed240f2b345be96119ea66e1fce6fb
String truncation in encoding > 2GB length |
| User & Date: | apnadkarni on 2023-02-25 16:33:28 |
Changes
- icomment:
A proposed fix is in [bug-fb368527ae]. There were two possible ways to fix this - Change the signature of the lower level encoding functions `UtfToUtfProc` etc. to take `Tcl_Size` parameters. Or, - Change the `Tcl_ExternalToUtfDStringEx` and `Tcl_UtfToExternalDStringEx` functions to call the above routines in chunks whose lengths fit into an int. I chose the second option since changing the lower level encoding involves not only the functions themselves but also the call sites which are many. Code needs reviewing. /Ashok
- login: "apnadkarni"
- mimetype: "text/x-markdown"