Overview
| Artifact ID: | 024b60baf8421bccfc114e5ee1289d3fb16b9507 |
|---|---|
| Ticket: | 2801413fffffffffffffffffffffffffffffffff
[format %llx] overflow |
| User & Date: | dgp on 2009-06-06 05:04:14 |
Changes
- icomment:
After applying attached patch: % set max [expr {(1<<(2**31-3)<<(2**31-3)<<(2**31-3)<<(2**31-3))-1}]; concat % set s [format %#llx $max]; concat % string length $s 2147483647 % incr max; concat % set s [format %#llx $max]; concat max size for a Tcl value (2147483647 bytes) exceeded This demos ability of [format] to create a numeric string up to Tcl's limits. A panic when those limits are exceeded is a bit jarring, but that's a separate bug/misfeature. - login: "dgp"
- mimetype: "text/plain"
- username: "dgp"