Skip to content

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

Open
kripken wants to merge 3 commits into
WebAssembly:mainfrom
kripken:ctor.massiv
Open

wasm-ctor-eval: Do not try to flatten segments with huge offsets#8920
kripken wants to merge 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
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