Overview
| Artifact ID: | c2039ef38ebcb3be14426f7a8b7be4fee7874993 |
|---|---|
| Ticket: | 2006342fffffffffffffffffffffffffffffffff
[expr] can bypass [interp limit] |
| User & Date: | mistachkin on 2008-06-30 03:37:54 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The arbitrary-precision integers support in [expr] can cause it to run for quite some time; however, it cannot currently be interrupted by [interp limit]. For safe interpreters, this could lead to a potential denial-of-service. Example: % info patchlevel 8.5.2 % set i [interp create] interp0 % interp limit $i time -seconds [expr {[clock seconds] + 10}] % interp limit $i time -command {} -granularity 10 -milliseconds 0 -seconds 1214796621 % interp eval $i {expr 2**9999999} The above script does not return even after the limit has elapsed. - foundin changed to: "obsolete: 8.6a1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "mistachkin"
- subsystem changed to: "None"
- title changed to: "[expr] can bypass [interp limit]"
- type changed to: "Bug"