Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d0d924c0dc96a09c902b74b8164883fc800aa44ae59c2fa3c23dcaca65a7ed46
Ticket: 526b01c0b9921b90618f82c398dc2684a60a053a
lset with 2+ indices on an unshared lseq list is a use-after-free (crash)
User & Date: juliannoble2 on 2026-10-18 11:03:01
Changes

  1. icomment:
    Verified on one of APN's tclsfe9.1 builds and my own Tcl 9.0 builds (using non-standard zig build system)
    
    Can crash even without the for loop in an interactive tclsh
    
        set l [lseq 5]
        lset l 1 0 X
    
    or sometimes repeat the lset command.
    
  2. login: "juliannoble2"
  3. mimetype: "text/plain"
  4. priority changed to: "7 High"