Skip to content

wasm-ctor-eval: Do not try to flatten segments with huge offsets#8920

Merged
kripken merged 3 commits into
WebAssembly:mainfrom
kripken:ctor.massiv
Jul 21, 2026
Merged

wasm-ctor-eval: Do not try to flatten segments with huge offsets#8920
kripken merged 3 commits into
WebAssembly:mainfrom
kripken:ctor.massiv

Conversation

@kripken

@kripken kripken commented Jul 20, 2026

Copy link
Copy Markdown
Member

First, we used 32-bit math, which overflowed. Second, even with that, we
should not generate huge segment sizes, which just OOM, so set a limit
of 4GB (arbitrary).

@kripken
kripken requested a review from a team as a code owner July 20, 2026 16:39
@kripken
kripken requested review from aheejin and removed request for a team July 20, 2026 16:39
@kripken
kripken merged commit c7ae8fb into WebAssembly:main Jul 21, 2026
16 checks passed
@kripken
kripken deleted the ctor.massiv branch July 21, 2026 15:47
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.

2 participants