summaryrefslogtreecommitdiff
path: root/src/wasm-binary-writer.c
diff options
context:
space:
mode:
authorBen Smith <binji@chromium.org>2015-12-21 12:49:45 -0800
committerBen Smith <binji@chromium.org>2015-12-21 12:56:07 -0800
commite4e03a8a86295c070cbdbfd91fda99e70f1ea0c5 (patch)
treeb5afd190e7a139e4f27944a85f1335dee20bd1a0 /src/wasm-binary-writer.c
parentbd86c5cdd967c69e5aa049c40a27b8483a98aab2 (diff)
downloadwabt-e4e03a8a86295c070cbdbfd91fda99e70f1ea0c5.tar.gz
wabt-e4e03a8a86295c070cbdbfd91fda99e70f1ea0c5.tar.bz2
wabt-e4e03a8a86295c070cbdbfd91fda99e70f1ea0c5.zip
fix uninitialized memory access in WasmModule
Without this, the cached module vectors have garbage values, which are passed to realloc(). For some reason this doesn't blow up ASAN or MSAN. This change fixes #10. Thanks to @mbodart for the fix!
Diffstat (limited to 'src/wasm-binary-writer.c')
0 files changed, 0 insertions, 0 deletions