Skip to content

Commit 7c13440

Browse files
linear0211lum1n0us
andauthored
Apply suggestions from code review
Co-authored-by: liang.he <liang.he@intel.com>
1 parent 02f59f1 commit 7c13440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/iwasm/common/wasm_runtime_common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3842,7 +3842,7 @@ wasm_runtime_init_wasi(WASMModuleInstanceCommon *module_inst,
38423842
"Invalid address pool entry: mask must be a number");
38433843
goto fail;
38443844
}
3845-
if (errno != 0 || mask_val < 0 || mask_val > 128) {
3845+
if (errno != 0 || mask_val < 0) {
38463846
snprintf(error_buf, error_buf_size,
38473847
"Init wasi environment failed: invalid mask number");
38483848
goto fail;

0 commit comments

Comments
 (0)