Fix JS<->WASM string marshaling crash (#42486)
authorKatelyn Gadd <kg@luminance.org>
Sat, 19 Sep 2020 11:04:53 +0000 (04:04 -0700)
committerGitHub <noreply@github.com>
Sat, 19 Sep 2020 11:04:53 +0000 (04:04 -0700)
commitddc83ad2b6f0127f81486301185c57f8e9aac055
tree4673d008079449b1c2e035d3076cf81c4e436b2c
parent6d1278f97fe5dbf82c1c0ecf275ac0a4da1fd70b
Fix JS<->WASM string marshaling crash (#42486)

Fix JS strings being truncated at the first null when passed to mono
Fix crashes when moving large strings across the JS<->WASM boundary
src/mono/wasm/runtime/binding_support.js
src/mono/wasm/runtime/driver.c