From 6c4f6d7022ebdd640f2a8e4df8c4885774b9b184 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 7 Dec 2016 14:30:52 -1000 Subject: ignore unknown user sections, fixes #857 (#858) --- src/wasm-binary.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/wasm-binary.h') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 6ec55f757..1edd3fa12 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -638,7 +638,7 @@ public: WasmBinaryBuilder(Module& wasm, std::vector& input, bool debug) : wasm(wasm), allocator(wasm.allocator), input(input), debug(debug) {} void read(); - bool readUserSection(); + void readUserSection(); bool more() { return pos < input.size();} uint8_t getInt8(); -- cgit v1.2.3