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

fix(xsnap): update Moddable SDK to fix BigInt arithmetic #7866

Merged
merged 1 commit into from
May 30, 2023

Conversation

mhofman
Copy link
Member

@mhofman mhofman commented May 30, 2023

closes: #7864

Description

Cherry picks a Moddable SDK commit reverting a broken change that had made it into the 3.8.7 update.

Security Considerations

This solves a bad arithmetic issue that was forced on as an effect of #7830 (before that change we would have experienced a divergence between validators)

Scaling Considerations

None

Documentation Considerations

None

Testing Considerations

Re-ran acceptance tests (see #6929) replaying vat42 on gcc9, 10 and clang.

We do not currently have a unit test reproducing this but may be able to derive one later.

@mhofman mhofman requested review from warner and raphdev May 30, 2023 21:20
@mhofman mhofman enabled auto-merge May 30, 2023 21:35
@mhofman mhofman added this pull request to the merge queue May 30, 2023
Merged via the queue into master with commit 80bdc60 May 30, 2023
@mhofman mhofman deleted the mhofman/7864-fix-xs-bigint branch May 30, 2023 22:05
@turadg turadg mentioned this pull request Jun 1, 2023
10 tasks
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

Successfully merging this pull request may close these issues.

XS 3.8.7 has bad arithmetic on BigInt when __has_builtin(__builtin_add_overflow)
2 participants