Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3669f5496f2606b072fdf23902d01be7ff70ca2276d5dc4416cea37f1fd66993
Ticket: bd94500678e837d7ed50cf6d5000df8f38cd5e39
SEGFAULT by conversion of unicode (out of BMP) to byte-array.
User & Date: sebres on 2019-02-06 18:57:05
Changes

  1. icomment:
    Accidentally I remembered still one case (may be affected on my side). And it is - so here is the next case, where `ch` gets modified inside the cycle - (inplace) conversion from UTF-8 (via UTF-16LE) into UTF-16BE:
    <code><pre>
      #if TCL_UTF_MAX > 4
        __bswap_32(ch);
      #else
        __bswap_16(ch);
      #endif
    </pre></code>
    So just by the way (it is already 3rd on "my" own projects;).
    
  2. login: "sebres"
  3. mimetype: "text/x-fossil-wiki"