• ahaas's avatar
    [wasm] Fix br_table in the wasm interpreter to use varuint32. · a3b77d56
    ahaas authored
    The wasm interpreter crashed because it interpreted the table of
    br_table as a table of uint8, but according to the spec it is a table of
    varint32. Therefore the wasm interpreter misinterpreted 0x80 0x00 as 128
    and not as 0, which caused a crash.
    
    R=tizer@chromium.org
    BUG=chromium:660262
    TEST=cctest/test-run-wasm/RunWasmInterpreted_Regression_660262
    
    Review-Url: https://codereview.chromium.org/2463063002
    Cr-Commit-Position: refs/heads/master@{#40708}
    a3b77d56
Name
Last commit
Last update
..
OWNERS Loading commit data...
test-managed.cc Loading commit data...
test-run-wasm-64.cc Loading commit data...
test-run-wasm-asmjs.cc Loading commit data...
test-run-wasm-interpreter.cc Loading commit data...
test-run-wasm-js.cc Loading commit data...
test-run-wasm-module.cc Loading commit data...
test-run-wasm-relocation.cc Loading commit data...
test-run-wasm-simd-lowering.cc Loading commit data...
test-run-wasm-simd.cc Loading commit data...
test-run-wasm.cc Loading commit data...
test-wasm-stack.cc Loading commit data...
test-wasm-trap-position.cc Loading commit data...
wasm-run-utils.h Loading commit data...