Artifacts Associated With Ticket a814ee5bbdb2bbd5
Ticket change [864f431019] (rid 211834) by apnadkarni on 2023-04-04 05:40:50:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
Multiple failure modes when a large length is specified for the `-length` option to `string equal|compare`. ``` % set s1 [string cat [string repeat a 0xfffffffe] X]; string length $s1 4294967295 % set s2 [string cat [string repeat a 0xfffffffe] Y]; string length $s2 4294967295 % string equal -length 0xffffffff $s1 $s2 0 -> correct % string equal -length 0xfffffffe $s1 $s2 0 -> wrong, should be 1 ``` For larger values of `-length` , a different error ``` % string equal -length 0x100000000 a b integer value too large to represent ```
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "18. Commands M-Z"
- title initialized to:
string equal,compare -length option fails for large indices
- type initialized to: "Bug"
Ticket change [9e147f7c6c] (rid 211836) by apnadkarni on 2023-04-04 08:24:20:
- assignee changed to: "apnadkarni"
- login: "apnadkarni"
- mimetype: "text/plain"
Ticket change [498de3b484] (rid 213792) by apnadkarni on 2023-04-24 16:29:03:
- closedate changed to: "2460059.18684894"
- closer changed to: "apnadkarni"
- icomment: "Fixed in [e831429a4d]"
- login: "apnadkarni"
- mimetype: "text/x-fossil-plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"