Overview
| Artifact ID: | 2a28195a4e11823af5b30ecc040ae1acf17679eeb1bd23c9901bf10435101bb9 |
|---|---|
| Ticket: | 02fe7f5c89c2b12c61474de3b6df8d165c24c698
tcl::unsupported::icu::detect missing 32-bit error-check |
| User & Date: | jan.nijtmans on 2025-04-05 22:54:06 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
In line 352 of tclIcu.c: <pre> bytes = (char *) Tcl_GetBytesFromObj(interp, objPtr, &len); </pre> a few lines after that (line 363): <pre> ucsdet_setText(csd, bytes, len, &status); </pre> However the "len" parameter of ucsdet_setText() is int32_t, and no range-check is done (as in the other ICU functions. So if len > 2**31, this will lead to unexpected results. Discovered when working on TIP #626. - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "69. Other"
- title changed to:
tcl::unsupported::icu::detect missing 32-bit error-check
- type changed to: "Bug"