Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 901e5080e8282a6d78ef6aa95053e41983501ae710217131fb8a8e6e6ae80145
Ticket: b5ac3e378678d29af7a19e9d8aaa481373a628d4
Tcl_GetUniChar reads beyond string length for ASCII strings
User & Date: apnadkarni on 2023-09-05 05:40:31
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-markdown"
  4. comment changed to:
    For pure ASCII strings, `Tcl_GetUniChar` does not check passed index against string length.
    
    For 8.6, this may possibly be not considered a bug since `Tcl_GetUniChar` is documented as expecting a valid index although it does check for non-ASCII.
    
    For 8.7 and 9.0 this is a bug as `Tcl_GetUniChar` is documented as returning -1 for out of bounds indices.
    
  5. foundin changed to: "8.6"
  6. is_private changed to: "0"
  7. login: "apnadkarni"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
  10. resolution changed to: "None"
  11. severity changed to: "Important"
  12. status changed to: "Open"
  13. submitter changed to: "apnadkarni"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to:
    Tcl_GetUniChar reads beyond string length for ASCII strings
    
  16. type changed to: "Bug"