Overview
| Artifact ID: | 3e1359e670ce20dd2d9d25eaca1acbbc025d92c09040f89d676e3a51225afdcd |
|---|---|
| Ticket: | fa6bf38d0728fbc7c7146f798ce0e3e35c70146c
Execution of byte-code with recompile in-between breaks normal execution flow (e. g. disregards "return" or "break" commands). |
| User & Date: | sebres on 2019-08-26 14:02:29 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Execution of byte-code disregards "return" command if some command or proc before would bump compiler epoch (cause recompile of a code in-between). PoC: <code><pre style="padding-left:10pt"> set i [interp create] $i eval {proc _recompile_ {} {rename set __set; rename __set set}} $i eval {puts A; puts B; return; puts C} $i eval {puts A; _recompile_; puts B; return; puts C} </pre></code> The last eval does not return before puts C. - foundin changed to: ">= 8.6"
- is_private changed to: "0"
- login: "sebres"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- severity changed to: "Critical"
- status changed to: "Open"
- submitter changed to: "sebres"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to:
Execution of byte-code with recompile in-between disregards "return" command.
- type changed to: "Bug"