Overview
| Artifact ID: | 48570e9ba1c3cfebc5017f602c8a3f17a6aea39e0f6271e8a41eff9f1d1c8530 |
|---|---|
| Ticket: | 66da4d4228be65fea83fa7eb4f9e932b7951341d
Tcl_UtfToExternal buffer overwrite for non-BMP characters using utf-16 encoders |
| User & Date: | apnadkarni on 2024-10-19 15:51:30 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
UTF-16 encoders write beyond destination space when encoding non-BMP characters. ``` % set utf8 [binary decode hex 41f09f988042]; encoding convertfrom utf-8 $utf8 A😀B % testencoding Tcl_UtfToExternal utf-16le $utf8 {start end} {} 7 nread nwritten nchars Tcl_UtfToExternal wrote past output buffer ``` - foundin changed to: "9.0.0"
- is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Severe"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "44. UTF-8 Strings"
- title changed to:
Tcl_UtfToExternal buffer overwrite for non-BMP characters using utf-16 encoders
- type changed to: "Bug"