Missing cyclic __proto__ value check
@y21 is already working on this.
Since Apr 14, 2023.
Assessment
This issue has not been assessed yet.
Description
let z = {};
let y = {__proto__:z};
z.__proto__ = y;
y.a
running this crashes dash with a stack overflow because it gets stuck in a recursive "loop" trying to look up property 'a' in its parent __proto__ object if it can't find it
Other JS engines have guards against that. V8 throws Cyclic __proto__ value
- Dominant language
- Rust
- Stars
- 54
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from y21/dash
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
`parseInt(x, undefined)` and `parseInt(x, null)` should be treated as if they were `parseInt(x, 10)` Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
-
AST
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
A-rt bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100