Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6c2fa14a01aa71e02fe42fe13caca1a726bb20ba
Ticket: 2568434fffffffffffffffffffffffffffffffff
INST_CONCAT1 handles bytearray safety wrongly
User & Date: dkf on 2009-02-05 14:11:34
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    % proc foo s {binary scan $s c x; list $x [scan $s$s %c%c]}
    % foo \u0130
    48 {48 48}
    
    Result should be: 48 {304 304}
    
    Problem is that INST_CONCAT1 assumes that a bytearray's string rep is generated from the bytearray, which isn't safe.
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dkf"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "INST_CONCAT1 handles bytearray safety wrongly"
  12. type changed to: "Bug"