Artifacts Associated With Ticket dd14ad78248c6b49
Ticket change [1b80808862] (rid 143846) by apnadkarni on 2015-11-09 10:14:44:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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 - is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "11. Conversions From String"
- title initialized to:
String is integer/wide do not seem to check the correct ranges
- type initialized to: "Bug"
Ticket change [b0ab1d7dbf] (rid 143847) by sebres on 2015-11-09 11:18:53:
- foundin changed to: ">= 8.5"
- 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).
- login: "sebres"
- mimetype: "text/plain"
- priority changed to: "7 High"
- severity changed to: "Important"
Ticket change [68a03ab4f4] (rid 143851) by dgp on 2015-11-09 19:40:51:
- assignee changed to: "dgp"
- icomment:
Not a bug. See TIP 297.
- login: "dgp"
- mimetype: "text/plain"
Ticket change [3d63e9959e] (rid 144014) by jan.nijtmans on 2015-12-01 12:43:52:
- closedate changed to: "2457358.03046524"
- closer changed to: "jan.nijtmans"
- login: "jan.nijtmans"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
Ticket change [61cf07e771] (rid 148444) by dkf on 2016-08-23 13:46:54:
- closedate changed to: "2457624.0742475"
- closer changed to: "dkf"
- login: "dkf"
- mimetype: "text/plain"
- subsystem changed to: "11. Conversions from String"