Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: dabcf9db987182521587d2b8cdc374299ad7b286bc2616c7bd3ad3a8e6a89aef
Ticket: 5e6346a252a3e52f764f6a58e7c52cfc72b4a061
Tcl_UtfPrev does not account for rejecting overlong sequences
User & Date: dgp on 2020-04-15 17:04:48
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed to:
    Since Tcl started rejecting overlong UTF-8 sequences [67aa9a2070], Tcl_UtfPrev is
    out of sync with the new rules for what Tcl accepts.
    
    test utf-7.26 {Tcl_UtfPrev -- overlong sequence}  testutfprev {
        testutfprev A\xE0\x80\x80
    } 3
    
    This fails, returning the wrong value 1 instead.
    
  5. foundin changed to: "8.6.7+"
  6. is_private changed to: "0"
  7. login: "dgp"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Important"
  11. status changed to: "Open"
  12. submitter changed to: "dgp"
  13. subsystem changed to: "44. UTF-8 Strings"
  14. title changed to:
    Tcl_UtfPrev does not account for rejecting overlong sequences
    
  15. type changed to: "Bug"