Artifacts Associated With Ticket e56486a2
Ticket change [8e77e0a22e] (rid 248081) by apnadkarni on 2025-11-12 06:30:01:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
String length parameters to several C functions are documented (in both 8.6 and 9.0) as *If the length is negative, the encoding-specific length of the string is used.* While 8.6 correctly checked for negative lengths as `(srcLen < 0)`, this has been changed in 9.0 to `(srcLen == TCL_INDEX_NONE)`. Aside from changing the **documented** semantics, this also has resulted in the functions not handling the case of negative values other than -1. The checks should be reverted back to checking for negative values as opposed to checking for `TCL_INDEX_NONE`.
- foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to:
Improper comparison with TCL_INDEX_NONE to indicate null-terminated strings
- type initialized to: "Bug"
Ticket change [7e046e0a3d] (rid 248271) by apnadkarni on 2025-11-14 17:31:41:
- closedate changed to: "2460994.23034319"
- closer changed to: "apnadkarni"
- icomment: "Fixed in [aeba91beb2]."
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"