Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test262: Potential __proto__ state leakage #153

Open
BobVarioa opened this issue Jul 30, 2024 · 0 comments
Open

Test262: Potential __proto__ state leakage #153

BobVarioa opened this issue Jul 30, 2024 · 0 comments
Labels
A-codegen area: codegen T-bug type: bug

Comments

@BobVarioa
Copy link
Contributor

BobVarioa commented Jul 30, 2024

I'm not sure if this breaks anything right now, but in #138 I ran into the issue of var __proto__ = ... which assigned to the environment's object's __proto__ instead of being a normal key in an object. This probably affects more things as well.
This likely could also affect funcIndex, locals and globals. Perhaps, other things as well. This should be a relatively simple fix, just switching them to maps

@CanadaHonk CanadaHonk added A-codegen area: codegen T-bug type: bug labels Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen area: codegen T-bug type: bug
Projects
None yet
Development

No branches or pull requests

2 participants