Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b22b9b706c6e44ae2a2ceb55596d58aa7ee33398bcd5b650695b8b1b9f5278ae
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: pooryorick on 2023-04-21 22:14:47
Changes

  1. assignee changed to: "pooryorick"
  2. icomment:
    Fixed in [b699959d62].  I looked into trying to make the existing code for TclStringCat work, but it eventually became clear that it would have to mostly become a clone of Tcl_AppendObjToObj() in order to work correctly.  There are a couple added benefits to this fix:  First, it reduces the number of code paths that perform concatenation.  Second, all callers of Tcl_AppendObjToObj will benefit from the reduction in generation of string representations.
    
  3. login: "pooryorick"
  4. mimetype: "text/x-fossil-wiki"
  5. resolution changed to: "Fixed"
  6. severity changed to: "Important"
  7. status changed to: "Pending"