Closed thedavidmeister closed 11 months ago
i don't now enough about Wasm to know whether this could pose security issues or otherwise break scenarios that users rely on.
from the wasmer docs:
static_memory_bound: Pages For static heaps, the size in wasm pages of the heap protected by bounds checking.
not sure if 0x4000 pages are enough for every app.
i'm curious if it's possible to surpass the guard by allocating more than it's size at once.
@steveej that's a gigabyte i think, the theoretical max is 4gb, i don't think for our use case that ppl will be noticing the difference between 1 and 4 gb any time soon
Related to this issue