Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 05271527673c36023f0e46b5035ec9942865cacec8c25d203839a523f0d8967e
Ticket: b2816a3afe4b11f5644b75e6daff28199031ec95
Tcl_NumUtfChars counts wrong at end of malformed string
User & Date: dgp on 2020-05-07 18:55:49
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    ==== utf-4.13 Tcl_NumUtfChars: end of string FAILED
    ==== Contents of test case:
     
        testnumutfchars foobar[testbytestring \xF2\xC2\xA0] end
    
    ---- Result was:
    9
    ---- Result should have been (exact matching):
    8
    ==== utf-4.13 FAILED
    
    The algorithm in Tcl_NumUtfChars can go wrong only when TCL _UTF_MAX > 3
    so that there is room to make certain troubles possible.
    
  5. foundin changed to: "TCL_UTF_MAX > 3"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "44. UTF-8 Strings"
  14. title changed to:
    Tcl_NumUtfChars counts wrong at end of malformed string
    
  15. type changed to: "Bug"