google / google/CodeCity

Security issue with CC.checkpoint

Open
#280 0 comments 0 reactions 1 assignee Claimed by @cpcallen View on GitHub
bug server
Dominant language
JavaScript
Stars
198
Forks
38
PR merge metrics
No merged PRs in 30d

Description

`CC.checkpoint` passes its arguments unmodified to `CodeCity.checkpoint`. Passing a truthy first argument will cause the interpreter to be paused and never restarted, effectively wedging it.

The other builtins defined in `CodeCity.initSystemFunctions` should be checked for similar issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.