Description[wasm] Handle no initial memory case correctly when memory is exported
Currently when the module has memory specified in the compiled bytes, but with no initial memory
exported memory assigns a bogus buffer to the instance. When grow_memory is called on this buffer, it tries to patch an incorrect address.
- Fix exported memory to handle no initial memory
- Fix grow_memory to handle uninitialized buffers
BUG=chromium:710844
R=bradnelson@chromium.org
Review-Url: https://codereview.chromium.org/2820223002
Cr-Commit-Position: refs/heads/master@{#44671}
Committed: https://chromium.googlesource.com/v8/v8/+/78b8d7ed8ce1b70dd753b6b2a1f0a867d8be6104
Patch Set 1 #Patch Set 2 : Fix bot failure #
Messages
Total messages: 18 (14 generated)
|