Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 14056728e9c712ffd173a1f16385a55775e70033517cc6034dc2c34b9c43dc91
Ticket: e9a2715d912d86448a2ed18b2d25788cd50769b4
Tcl 8.6.11: Incompatible Tcl_GetRange()
User & Date: jan.nijtmans on 2022-01-17 17:37:05
Changes

  1. assignee changed to: "jan.nijtmans"
  2. icomment:
    Possible fix [ed61de701e3367e5|here]. However, I'm not convinced yet this is what we should be doing. There are multiple places in Tcl core code, where it's assumed that -1 means 'end before start'. Changing the behavior of Tcl_GetRange(), all such callers have to be modified.
    
    What happened is [767e070d35|this]: In the past, Tcl_GetRange() didn't check it's inputs, which could easily lead to crash. Therefore, extra checks were added, but I don't remember changing any behaviour like you describe. It was certainly not intended to do that.
    
    So, this needs a little bit more investigation what's going on. Any-one else who has an idea/opinion, please add your comments here. Thanks!
    
  3. login: "jan.nijtmans"
  4. mimetype: "text/x-fossil-wiki"