From 596ad8288827bd68e7f0fd2e632b9f37f47a36a6 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Tue, 26 Mar 2019 14:53:07 -0700 Subject: remove getString, which is not used, and was insecure to boot (#1966) --- src/wasm-binary.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/wasm-binary.h') diff --git a/src/wasm-binary.h b/src/wasm-binary.h index 32166af00..66c95299e 100644 --- a/src/wasm-binary.h +++ b/src/wasm-binary.h @@ -962,7 +962,8 @@ public: void read(); void readUserSection(size_t payloadLen); - bool more() { return pos < input.size();} + + bool more() { return pos < input.size(); } uint8_t getInt8(); uint16_t getInt16(); @@ -979,7 +980,6 @@ public: int64_t getS64LEB(); Type getType(); Type getConcreteType(); - Name getString(); Name getInlineString(); void verifyInt8(int8_t x); void verifyInt16(int16_t x); -- cgit v1.2.3