Overview
| Artifact ID: | c0b701e7aea6f3db0d66ac846465f0231075d474 |
|---|---|
| Ticket: | 2561746fffffffffffffffffffffffffffffffff
overflow trouble in [string repeat] |
| User & Date: | dgp on 2009-02-05 01:14:12 |
Changes
- icomment:
Note that the original report here is *not a bug* but a bit of compatibility. The count values from 0x80000000 to 0xffffffff are taken as equivalent to the values -0x80000000 to -1 because the value is fetched with Tcl_GetIntFromObj(). Then, given a negative count value, [string repeat] returns an empty string and no error. The later comments note the real bug, some uncaught overflows leading to crashes.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"