Overview
| Artifact ID: | 01b14bbec138ab490f95aec811f4b3f65932c2d71115017a2cf0e482f281c32a |
|---|---|
| Ticket: | 33f9b4de51219958c4fe65502c2a1c4ba84a9ffa
Tcl_ExternalToUtf - buffer overflow on output on invalid encoding |
| User & Date: | apnadkarni on 2024-08-22 16:32:19 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
The following demonstrates overwrite of output buffer if high surrogate not followed by low surrogate at output buffer limit. ``` % set high [string range [encoding convertto utf-16le \U1f600] 0 1] % set result [testencoding Tcl_ExternalToUtf utf-16le ${high}\xa8\x9e {start end noterminate tcl8} 0 5 nread nwrote] Tcl_ExternalToUtf wrote past output buffer ``` - foundin changed to: "9.0b3"
- 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: "- New Builtin Commands"
- title changed to:
Tcl_ExternalToUtf - buffer overflow on output on invalid encoding
- type changed to: "Bug"