Skip to content
Tcl Source Code History Of Ticket dd14ad78248c6b49
Login

History Of Ticket dd14ad78248c6b49

Artifacts Associated With Ticket dd14ad78248c6b49

  1. Ticket change [1b80808862] (rid 143846) by apnadkarni on 2015-11-09 10:14:44:

    1. assignee initialized to: "nobody"
    2. closer initialized to: "nobody"
    3. cmimetype initialized to: "text/plain"
    4. comment initialized to:
      % string is integer 2147483649
      1
      % expr {int(2147483649)}
      -2147483647
      
      % string is wide -9223372036854775809
      1
      % expr {wide(-9223372036854775809)}
      9223372036854775807
      
      Both those numbers do not fit in the respective 32/64 bit widths. Note that [string is] is supposed to check for range. For example,
      
      % string is integer 21474836490
      0
      
      /Ashok
      
    5. is_private initialized to: "0"
    6. login: "apnadkarni"
    7. priority initialized to: "5 Medium"
    8. resolution initialized to: "None"
    9. severity initialized to: "Minor"
    10. status initialized to: "Open"
    11. submitter initialized to: "apnadkarni"
    12. subsystem initialized to: "11. Conversions From String"
    13. title initialized to:
      String is integer/wide do not seem to check the correct ranges
      
    14. type initialized to: "Bug"
  2. Ticket change [b0ab1d7dbf] (rid 143847) by sebres on 2015-11-09 11:18:53:

    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"
  3. Ticket change [68a03ab4f4] (rid 143851) by dgp on 2015-11-09 19:40:51:

    1. assignee changed to: "dgp"
    2. icomment:
      
      Not a bug.  See TIP 297.
      
    3. login: "dgp"
    4. mimetype: "text/plain"
  4. Ticket change [3d63e9959e] (rid 144014) by jan.nijtmans on 2015-12-01 12:43:52:

    1. closedate changed to: "2457358.03046524"
    2. closer changed to: "jan.nijtmans"
    3. login: "jan.nijtmans"
    4. mimetype: "text/plain"
    5. resolution changed to: "Invalid"
    6. status changed to: "Closed"
  5. Ticket change [61cf07e771] (rid 148444) by dkf on 2016-08-23 13:46:54:

    1. closedate changed to: "2457624.0742475"
    2. closer changed to: "dkf"
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. subsystem changed to: "11. Conversions from String"