-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently, bight uses lua environments to isolate cells. Each cell evaluation has it's own _G, which is deleted after the evaluation. That _G provides access to some shared (between cells evaluated on the same interpreter) tables, such as math. Data may be shared trough them, including GET function, which may result in it outliving its lifetime and causing UB on next use.
Possible solutions:
- Forbid access to those tables completely, and only allow math through the re-exported functions
- Make those tables read-only (how?)
- Allow sharing data in general, but solve the problem of sharing GET (how?)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels