Description[wasm] Fix decoder for null data
If passing <nullptr, 0> to the decoder and trying to decode something,
it correctly detects the error and sets an error message, but still
returns true on ok(), and returns a valid result.
I triggered this error by passing a null Vector, returned by FindSection(), to
the decoder.
R=titzer@chromium.org
Committed: https://crrev.com/e7a00891495d123f68b7fe0f2a43839e34591c8e
Cr-Commit-Position: refs/heads/master@{#40204}
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 11 (6 generated)
|