Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 695c5061ede8cd9f0dea60b028d16f3b0a8b13b9179631d3e6d1f90fe92e39f8
Ticket: b3628609ad73a105f0e51435e0e0ac5b8205fad7
concatenating strings is broken when the "bytes" field of a Tcl_Obj contains invalid data and the type is not tclStringType
User & Date: jan.nijtmans on 2023-09-12 12:40:23
Changes

  1. closedate changed to: "2460200.0280466"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    > Fixed in [b699959d62]. I looked into trying to make the ....
    
    > Fixed in [2ddc0c3fa9] by allowing TclStringCat() to assume that all Tcl_Obj.bytes values can be safely catenated as-is.
    
    Since TclStringCat() concatenates Unicode code-points - not bytes - this is a nun-bug. Your latest 'fix' was merged to the 'unchained' branch. Please keep it there and all is well.
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"