Overview
| Artifact ID: | 08751861ad1115429bf939c2d46489086bed736e |
|---|---|
| Ticket: | 1109484fffffffffffffffffffffffffffffffff
Tcl_Expr* do not gracefully handle wide ints |
| User & Date: | hobbs on 2005-01-25 23:48:10 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
The Tcl_Expr* functions in tclBasic.c do checks on the return value to see if it is int or double, but the value could be a wide int that fits into the requisite size. That would prevent an error condition. See this example from TclX: package require Tclx 8.4 (Tcl) 57 % crange abc 1 {end-[expr 1]} b (Tcl) 58 % crange abc 1 {end-[expr wide(1)]} expression didn't have numeric value - foundin changed to: "obsolete: 8.4.9"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "hobbs"
- subsystem changed to: "10. Objects"
- title changed to: "Tcl_Expr* do not gracefully handle wide ints"
- type changed to: "Bug"