Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b0ab1d7dbf5eec1dfa96f646fbef053465a0e431
Ticket: dd14ad78248c6b4930fad6de2995cb86cab926e8
String is integer/wide do not seem to check the correct ranges
User & Date: sebres on 2015-11-09 11:18:53
Changes

  1. foundin changed to: ">= 8.5"
  2. icomment:
    Agree. I believe the Tcl_GetWideIntFromObj works "wrong" in sense of "string is wideinteger" if the given object a bignum that can fit in a Tcl_WideInt, but it occurs sign independent!
    
    So either inside StringIsCmd after executing of Tcl_GetWideIntFromObj it should check a sign of "original" bignum object.
    Or we should change logic of Tcl_GetWideIntFromObj for bignum that can fit with invalid sign (I will prefer this, but it has serious impact).
    
    I will increase a priority, because it can be an issue of Tcl_GetWideIntFromObj self (not a string issue only).
    
  3. login: "sebres"
  4. mimetype: "text/plain"
  5. priority changed to: "7 High"
  6. severity changed to: "Important"