Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9b8a357c32632cd6b8d96ac25fb2ac8d9bcca4576cac8e64f722d6c647858a5c
Ticket: 28de50dcee4f6888eaed987bf1d795ac67138b5f
Crash on invalid Unicode code points
User & Date: jan.nijtmans on 2026-11-26 08:03:59
Changes

  1. closedate changed to: "2461370.8361024307"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    Another example:
    <pre>
    $ teststringobj newunicode 0 0x0100D800 0x0100DC00
    \U00010000
    </pre>
    
    So an invalid UTF-32 sequence of length 2 generated a valid UTF-8 sequence of a different length. That could be another loophole for ill-behavior.
    
    Fixed [2a3ca8cf06d496d0|here]
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"