Artifacts Associated With Ticket 02fe7f5c89
Ticket change [2a28195a4e] (rid 238898) by jan.nijtmans on 2025-04-05 22:54:06:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized 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 initialized to: "9.0"
- is_private initialized to: "0"
- login: "jan.nijtmans"
- priority initialized to: "5 Medium"
- private_contact initialized to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "jan.nijtmans"
- subsystem initialized to: "69. Other"
- title initialized to:
tcl::unsupported::icu::detect missing 32-bit error-check
- type initialized to: "Bug"
Ticket change [d8654e8f0d] (rid 238899) by jan.nijtmans on 2025-04-05 22:54:23:
- assignee changed to: "apnadkarni"
- login: "jan.nijtmans"
- mimetype: "text/plain"
Ticket change [f7d8595bf7] (rid 238900) by jan.nijtmans on 2025-04-05 22:57:37:
- icomment:
The comment belonging to 'IcuDetectObjCmd' reads: <pre> * EncodingDetectObjCmd -- * * Implements the Tcl command EncodingDetect. * encdetect - returns names of all detectable encodings * encdetect BYTES ?-all? - return detected encoding(s) </pre> So the C- and Tcl-functions names are not up-to-date any more
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- icomment:
Ticket change [86903d064f] (rid 238906) by jan.nijtmans on 2025-04-06 16:15:11:
- closedate changed to: "2460772.17721667"
- closer changed to: "jan.nijtmans"
- icomment: "Fixed [d05c268ca9ad45d2|here]"
- login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"