Tcl package Thread source code

Ticket Change Details
Login
Overview

Artifact ID: 48845f411011d6e08bc75d35eb83d3fd779dc47832a508aaae13506060969495
Ticket: 76f47e0376fb8b2783627799fd7f2adab66d98f9
thread::send -async script varname aborts with "alloc: invalid block"
User & Date: sebres 2018-07-17 10:34:38
Changes

  1. closedate changed to: "2458316.94072269"
  2. closer changed to: "sebres"
  3. foundin changed to: "all"
  4. icomment:
    Thanks Nathan (pooryorick) for finding and minimalistic fix.
    I've amended with more extensive fix replacing strcpy with memcpy (additionally should avoid segfault by overwrite if string representation would be possibly broken, e. g. without NTS 0-byte) and extended the test-cases to cover exactly this issue.
    
    So fixed now in 2.8 and trunk, thus close.
    
  5. login: "sebres"
  6. mimetype: "text/x-fossil-wiki"
  7. resolution changed to: "Fixed"
  8. status changed to: "Closed"