• clemensh's avatar
    [wasm] Fix check failure on invalid name section · 0ec3a264
    clemensh authored
    After decoding an invalid function name (e.g. OOB), we stored the parsed
    offset and length into the WasmFunction anyway, resulting in a runtime
    CHECK failure later on.
    This CL fixes this, and adds a regression test.
    
    R=titzer@chromium.org
    CC=mtrofin@chromium.org, bradnelson@chromium.org
    BUG=chromium:684858
    
    Review-Url: https://codereview.chromium.org/2656713003
    Cr-Commit-Position: refs/heads/master@{#42654}
    0ec3a264
Name
Last commit
Last update
..
loop-stack-check.js Loading commit data...
regress-5860.js Loading commit data...
regression-02256.js Loading commit data...
regression-02256b.js Loading commit data...
regression-02862.js Loading commit data...
regression-5531.js Loading commit data...
regression-5800.js Loading commit data...
regression-643595.js Loading commit data...
regression-644682.js Loading commit data...
regression-647649.js Loading commit data...
regression-648079.js Loading commit data...
regression-651961.js Loading commit data...
regression-654377.js Loading commit data...
regression-663994.js Loading commit data...
regression-666741.js Loading commit data...
regression-667745.js Loading commit data...
regression-670683.js Loading commit data...
regression-674447.js Loading commit data...
regression-680938.js Loading commit data...
regression-684858.js Loading commit data...