diff --git a/core/iwasm/common/wasm_runtime_common.c b/core/iwasm/common/wasm_runtime_common.c index 4ef53fd0a..4a1da562b 100644 --- a/core/iwasm/common/wasm_runtime_common.c +++ b/core/iwasm/common/wasm_runtime_common.c @@ -3842,7 +3842,7 @@ wasm_runtime_init_wasi(WASMModuleInstanceCommon *module_inst, "Invalid address pool entry: mask must be a number"); goto fail; } - if (errno != 0 || mask_val < 0 || mask_val > 128) { + if (errno != 0 || mask_val < 0) { snprintf(error_buf, error_buf_size, "Init wasi environment failed: invalid mask number"); goto fail;