Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 799f8dfc20077ea1bda2804e35548a6b02ec2e510c7f1a6f0c5382a2bf15ecf7
Ticket: f5eadcbf9a6b1b4cff5aaf0da5aa5706430dfb7c
passing pointer to uninitialized memory leads Tcl_UniCharToUtf() to corrupt data
User & Date: jan.nijtmans on 2023-04-25 20:50:50
Changes

  1. icomment:
    This is a non-issue. In Tcl 9.0 with TCL_UTF_MAX=4, Tcl_UniCharToUtf() doesn't combine surrogates any more. You could put #ifdef's "TCL_UTF_MAX < 4" around it, otherwise this patch only costs performance without any benefit. Please don't do that (asking nicely)
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"