4 ms·
This is wrong. WebAssembly doesn't care where you write inside the arena. See: https://gist.github.com/fwsGonzo/8d8d0d27847c2d5804bc2d8af2b43782 https://gist.g
by fwsgonzo 3y ago
This is wrong. WebAssembly doesn't care where you write inside the arena.
See: https://gist.github.com/fwsGonzo/8d8d0d27847c2d5804bc2d8af2b43782 https://gist.github.com/fwsGonzo/8d8d0d27847c2d5804bc2d8af2b...
.. but it is safe to write anywhere in the arena!
- averageValentin 3y agoAppreciate the clarification. You're right that WebAssembly doesn't enforce bounds checking within its linear memory, allowing for out-of-bounds writes within the allocated space. While it does enhance security at the host boundary, it doesn't absolve the need for careful memory management within the WebAssembly module itself