Artifacts Associated With Ticket 00cced7b87
Ticket change [3a5bbee679] (rid 206328) by apnadkarni on 2022-11-02 02:55:34:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
See the disassembly below: ``` % tcl::unsupported::disassemble script {lindex $l 0x100000000} ByteCode 0xffffffffebbdeec8, refCt 1, epoch 20, interp 0xffffffffebb11ca8 (epoch 20) Source "lindex $l 0x100000000" Cmds 1, src 21, inst 9, litObjs 1, aux 0, stkDepth 1, code/src 0.00 Commands 1: 1: pc 0-7, src 0-20 Command 1: "lindex $l 0x100000000" (0) push1 0 # "l" (2) loadStk (3) listIndexImm -1 (8) done ``` Indices > 0x80000000 result in the listIndexImm operand being -1 As an example, ``` % lindex [lseq 0x100000008] 0x100000000 % ``` returns an empty string. - foundin initialized to: "9.0"
- is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Important"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "47. Bytecode Compiler"
- title initialized to:
Incorrect handling of indices > 0x80000000 in byte compiler (64-bit Tcl)
- type initialized to: "Bug"
Ticket change [43fcd6d184] (rid 206350) by jan.nijtmans on 2022-11-02 13:20:29:
- assignee changed to: "jan.nijtmans"
- closedate changed to: "2459886.05590273"
- closer changed to: "jan.nijtmans"
- icomment:
Fixed [4aad15c2be1628d3|here] <pre> % lindex [lseq 0x100000008] 0x100000000 4294967296 </pre> - login: "jan.nijtmans"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"