Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6a860c4b9b296bed249e5d1e1871e1142805b9fd5a14d4d5de34455479668eb9
Ticket: c9f0520f7e783fa926bf935295d204895f890499
ckalloc argument overflow in Tcl_SplitList with a string about 1
User & Date: apnadkarni on 2025-07-16 12:03:12
Changes

  1. icomment:
    Thanks for the report and analysis. To reproduce without an extension,
    
    ```
    # create a huge string
    # crash by 26 in 8.6.11
    set limit 26
    set str "0 1 2 3 4 5 6 7 8 9 "
    for { set i 0 } { $i < $limit } { incr i } {
        set str "$str $str"
        puts [string length $str]
    }
    
    proc p {} [list dict for $str {} {}]
    p
    ```
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"