Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c7c3133ad6d0cb2c784808bb6644f2fd37de27329640ba7727c3395a42348f3c
Ticket: bd94500678e837d7ed50cf6d5000df8f38cd5e39
SEGFAULT by conversion of unicode (out of BMP) to byte-array.
User & Date: sebres on 2019-02-25 22:32:06
Changes

  1. icomment:
    Thx, Jan! It looks promising.
    
    Just BTW, seeing all this "new" changes:
    <code><pre style="padding-left:10pt">
    <span style="color:red">- char buf[TCL_UTF_MAX + 1];</span>
    <span style="color:green">+ char buf[TCL_UTF_MAX + 1] = "";</span>
    </pre></code>
    Would not this introduce another small incompatibility now?<br/>
    I mean does the pre-initialization of buffer become mandatory now (or what would happen if it is not initialized)?
    
    Is it what you've called "spurious UTF-8 testcase failure"? :)
    
    
    P.S. I'll evaluate all the corner cases of new implementation a bit later (too busy ATM).
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"