Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f8d28280635ab660d61354ed7b07b6e8557cc994cb74a5e2755495583095cc26
Ticket: 7179c6724cd38271a771343f80197b1fc57315ad
compilation of incr command is broken on wide constant offset by int overflow
User & Date: sebres on 2024-08-12 13:54:03
Changes

  1. closedate changed to: "2460535.07920403"
  2. icomment:
    By the way, the fix was minimalistic, in opposite to my fix in fork, that uses safe `TclGetSignedIntFromObj` routine (tcl seems not to have yet), which wouldn't success by overflow, and since the code is full with Tcl?_?GetIntFromObj, maybe it'd be time for larger review (to prevent ugly unintended overflows like that everywhere).
    
  3. login: "sebres"
  4. mimetype: "text/x-markdown"