Ticket Change Details
Not logged in
Overview

Artifact ID: b9248d14ac38c6dd2ef3f1ff235fcfe35d214e7d8af44bea7fcde9c71f36086c
Ticket: 0265750233183103c98714f6005a9b842bdfee9c
invalid read in cmdAH-4.3.13.C1.solo.utf-8.tcl8.a
User & Date: jan.nijtmans 2023-03-22 16:41:09
Changes

  1. icomment:
    Good catch! Actually, Tcl_UtfCharComplete is correct here. If the first byte is \xC1, Tcl_UtfToUniChar() shouldn't read the second byte: for whatever value, calculating the unicode value will result in an underflow later.
    
    Proposed solution [4055888f8f267de4|here]
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"