9140e869e2
The bug was about instantiating a module with elements segment being out-of-bounds, however, it was with zero length. E.g.: ``` (module (table 0 anyfunc) (elem (i32.const 1)) ) ``` In our impl there was no out-of-bounds, because there was no attempt to set any table entry. This change adds early check for specifically this case. |
||
---|---|---|
.. | ||
spec | ||
spec_shim.rs |