wasm: Add a check for zero length around uses of memory.copy/memory.fill.

Apparently the WebAssembly spec requires these instructions to trap if the
computed memory access could be out of bounds, even if the length is zero.
Really a rather bizarre design choice.
e800ea0fddAlex Rønne Petersen committed on 1/22/2025, 2:01:02 AMparent97b97ae
1 file changedLine totals unavailable