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

Atomics.add / Atomics.sub does not check TypedArray #3493

Closed
kimjg1119 opened this issue Nov 21, 2024 · 2 comments
Closed

Atomics.add / Atomics.sub does not check TypedArray #3493

kimjg1119 opened this issue Nov 21, 2024 · 2 comments

Comments

@kimjg1119
Copy link
Contributor

In step 1 of the Atomics.add, typedArray seems to be an ESValue since there is no check such as ValidateTypedArray or something. Atomics.sub does the same.

Unfortunately, typedArray is related to the memory model, and it is complex, and I cannot understand the details. However, it looks like a spec bug, and it is also related to #3486.

@anba
Copy link
Contributor

anba commented Nov 21, 2024

This is a known spec bug -> #3117.

@kimjg1119
Copy link
Contributor Author

This is a known spec bug -> #3117.

Thanks!

@kimjg1119 kimjg1119 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants